Similar Items: Analyzing Timed Systems Using Tree Automata