add model for kpi and prepare DiffTime for models f-me/carma#1695