ValueError: Numpy arrays that you are passing to your model is not the size the model expected
Your network has two Inputs, so you need to pass in two arrays.  From the rest of the code, perhaps you want to pass the same data through both strands, in which case you can just duplicate the input:

history=model.fit([trainDataVecs, trainDataVecs], ...