Model-Driven Time-Series Analytics