Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.908, allocations: 142.3 MB / 0.9536 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01947/0.9276, allocations: 19.61 MB / 0.9727 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.9379, allocations: 5.887 MB / 0.9785 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.9393, allocations: 23.91 kB / 0.9785 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.9405, allocations: 327.9 kB / 0.9788 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.9441, allocations: 0.9286 MB / 0.9797 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.9474, allocations: 0.9312 MB / 0.9806 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.9513, allocations: 1.954 MB / 0.9825 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.9532, allocations: 0.9082 MB / 0.9834 GB, free: 472 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.9557, allocations: 0.7994 MB / 0.9842 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.957, allocations: 0.5587 MB / 0.9848 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.9572, allocations: 41.06 kB / 0.9848 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.9589, allocations: 466.7 kB / 0.9852 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.9592, allocations: 202.3 kB / 0.9854 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.9596, allocations: 250.6 kB / 0.9857 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.9613, allocations: 1.368 MB / 0.987 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9613, allocations: 0 / 0.987 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9613, allocations: 4 kB / 0.987 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.9613, allocations: 0 / 0.987 GB, free: 13.83 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002064/0.9634, allocations: 1.301 MB / 0.9883 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.9635, allocations: 12.03 kB / 0.9883 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.9637, allocations: 122.5 kB / 0.9884 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.9641, allocations: 134.5 kB / 0.9885 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.9661, allocations: 1.08 MB / 0.9896 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.9662, allocations: 58 kB / 0.9897 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.9663, allocations: 76 kB / 0.9897 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.9679, allocations: 1.029 MB / 0.9907 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.968, allocations: 7.938 kB / 0.9907 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.9681, allocations: 28 kB / 0.9908 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.9681, allocations: 27.98 kB / 0.9908 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.9692, allocations: 0.757 MB / 0.9915 GB, free: 9.051 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/0.9744, allocations: 4.662 MB / 0.9961 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.9749, allocations: 392.6 kB / 0.9965 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.9753, allocations: 437.8 kB / 0.9969 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.9754, allocations: 38.89 kB / 0.9969 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 3.036e-06/0.9754, allocations: 0 / 0.9969 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001812/0.9772, allocations: 0.8549 MB / 0.9977 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.9772, allocations: 59.41 kB / 0.9978 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9784, allocations: 0.9895 MB / 0.9988 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.9785, allocations: 37.7 kB / 0.9988 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.9789, allocations: 0.5067 MB / 0.9993 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.979, allocations: 149.9 kB / 0.9994 GB, free: 432 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.979, allocations: 8 kB / 0.9995 GB, free: 424 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9792, allocations: 334 kB / 0.9998 GB, free: 84 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.9795, allocations: 221 kB / 1 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.9799, allocations: 426.7 kB / 1 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.9803, allocations: 317.3 kB / 1.001 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9803, allocations: 0 / 1.001 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00132/0.9817, allocations: 0.8058 MB / 1.001 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008156/0.9825, allocations: 2.181 MB / 1.004 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.9825, allocations: 11.95 kB / 1.004 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.9829, allocations: 80.8 kB / 1.004 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.9833, allocations: 111.8 kB / 1.004 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004632/0.9838, allocations: 0.6302 MB / 1.004 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.9845, allocations: 119.2 kB / 1.005 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.9846, allocations: 35.94 kB / 1.005 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.9846, allocations: 4 kB / 1.005 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009326/0.9856, allocations: 0.6714 MB / 1.005 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.9856, allocations: 12 kB / 1.005 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.9857, allocations: 64.88 kB / 1.005 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.9861, allocations: 112.3 kB / 1.005 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.9876, allocations: 1.732 MB / 1.007 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.9883, allocations: 102.4 kB / 1.007 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.9884, allocations: 31.98 kB / 1.007 GB, free: 8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006389/0.989, allocations: 488.7 kB / 1.008 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.9892, allocations: 86.97 kB / 1.008 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009803/0.9901, allocations: 0.6429 MB / 1.008 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9902, allocations: 4 kB / 1.008 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.9902, allocations: 0 / 1.008 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008037/0.991, allocations: 0.8205 MB / 1.009 GB, free: 5.863 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.9934, allocations: 1.7 MB / 1.011 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.9934, allocations: 0 / 1.011 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.9938, allocations: 87.83 kB / 1.011 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.9939, allocations: 36.95 kB / 1.011 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.9939, allocations: 19.98 kB / 1.011 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003331/0.9943, allocations: 0.572 MB / 1.012 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.9943, allocations: 3.938 kB / 1.012 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.9954, allocations: 0.9845 MB / 1.013 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.9959, allocations: 279.8 kB / 1.013 GB, free: 2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.996, allocations: 16 kB / 1.013 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.9966, allocations: 75.97 kB / 1.013 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.9966, allocations: 27.95 kB / 1.013 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.9967, allocations: 23.98 kB / 1.013 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008199/0.9975, allocations: 0.698 MB / 1.014 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9975, allocations: 0 / 1.014 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001598/0.9991, allocations: 0.5806 MB / 1.014 GB, free: 0.5859 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/1.001, allocations: 1.982 MB / 1.016 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.003, allocations: 1.004 MB / 1.017 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.003, allocations: 0 / 1.017 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/1.003, allocations: 235.7 kB / 1.017 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.006, allocations: 0.556 MB / 1.018 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.017, allocations: 9.89 MB / 1.028 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.018, allocations: 1.248 MB / 1.029 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001377/1.02, allocations: 460.8 kB / 1.029 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/1.02, allocations: 367.3 kB / 1.03 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of SimCode: time 1.143e-06/1.02, allocations: 0 / 1.03 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/1.071, allocations: 29.06 MB / 1.058 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.072, allocations: 281.7 kB / 1.058 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.364, allocations: 4.062 kB / 1.058 GB, free: 3.633 MB / 0.8106 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat does not exist to compare? outputFormat=mat