Error estimates of high-order numerical methods for solving time fractional partial differential equations