Comparing two time series data to find deviations between them
Your use-case looks solvable using dynamic time warping. DTW is an algorithm for comparing similarity between two temporal sequences. 

Implementation of DTW are available in standard data-science programming language via libraries like this R implementation.