A "learning from models'' cognitive fault diagnosis system