Damage detection of a steel frame subjected to ground motion