Similar Items: Compositional Verification for Timed Systems Based on Automatic Invariant Generation