Library of component reference models for fault detection