Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.0008974/0.0008973, allocations: 99.86 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.0009214/0.0009214, 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.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.403/2.403, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8053, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03232/0.8376, allocations: 31.65 MB / 0.9845 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.8521, allocations: 8.282 MB / 0.9926 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.8553, allocations: 43.75 kB / 0.9926 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.8579, allocations: 0.5168 MB / 0.9931 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.8656, allocations: 1.603 MB / 0.9947 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.8702, allocations: 1.313 MB / 0.996 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006704/0.8769, allocations: 4.484 MB / 1 GB, free: 204 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.8808, allocations: 2.746 MB / 1.003 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.8846, allocations: 1.845 MB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.8873, allocations: 1.548 MB / 1.006 GB, free: 10 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.8876, allocations: 132 kB / 1.006 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.89, allocations: 0.6711 MB / 1.007 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.8906, allocations: 0.5759 MB / 1.008 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009174/0.8915, allocations: 0.6486 MB / 1.008 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.8956, allocations: 3.947 MB / 1.012 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.8956, allocations: 0 / 1.012 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8956, allocations: 0 / 1.012 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.031e-05/0.8957, allocations: 0 / 1.012 GB, free: 4.008 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.005359/0.901, allocations: 3.001 MB / 1.015 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9011, allocations: 12.03 kB / 1.015 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004367/0.9015, allocations: 340.9 kB / 1.015 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.9024, allocations: 352 kB / 1.016 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.9065, allocations: 2.408 MB / 1.018 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.9066, allocations: 172.6 kB / 1.018 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.907, allocations: 240 kB / 1.019 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.9118, allocations: 3.207 MB / 1.022 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.65e-05/0.9118, allocations: 7.938 kB / 1.022 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.912, allocations: 100 kB / 1.022 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.9121, allocations: 63.98 kB / 1.022 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.916, allocations: 2.566 MB / 1.024 GB, free: 7.277 MB / 0.7794 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.01615/0.9322, allocations: 13.84 MB / 1.038 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.9346, allocations: 1.623 MB / 1.039 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.9354, allocations: 0.7166 MB / 1.04 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.9355, allocations: 55.55 kB / 1.04 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001268/0.9368, allocations: 194.9 kB / 1.04 GB, free: 5.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=126): time 3.015e-06/0.9368, allocations: 0 / 1.04 GB, free: 5.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=126): time 0.01259/0.9494, allocations: 3.486 MB / 1.044 GB, free: 2.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.9495, allocations: 145.5 kB / 1.044 GB, free: 1.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.9542, allocations: 2.128 MB / 1.046 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.9545, allocations: 57.69 kB / 1.046 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.9563, allocations: 1.262 MB / 1.047 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.957, allocations: 441.7 kB / 1.048 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.9571, allocations: 39.94 kB / 1.048 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.9574, allocations: 369.9 kB / 1.048 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.959, allocations: 0.7339 MB / 1.049 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.9612, allocations: 1.24 MB / 1.05 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.9633, allocations: 0.9549 MB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.9633, allocations: 4 kB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005746/0.969, allocations: 2.425 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00265/0.9717, allocations: 5.713 MB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.9718, allocations: 12 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.9748, allocations: 0.5189 MB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.9769, allocations: 347.4 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/0.9816, allocations: 3.166 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.9851, allocations: 235.4 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.9853, allocations: 83.97 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.9853, allocations: 0 / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005088/0.9904, allocations: 2.195 MB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.9905, allocations: 12 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00085/0.9913, allocations: 246.2 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.9933, allocations: 371.4 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.9976, allocations: 4.224 MB / 1.07 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1, allocations: 219.6 kB / 1.07 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1, allocations: 75.98 kB / 1.07 GB, free: 5.688 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002265/1.002, allocations: 1.023 MB / 1.071 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/1.003, allocations: 205.5 kB / 1.071 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/1.007, allocations: 2.079 MB / 1.074 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.007, allocations: 19.98 kB / 1.074 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.007, allocations: 4 kB / 1.074 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/1.009, allocations: 1.668 MB / 1.075 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/1.018, allocations: 4.712 MB / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.018, allocations: 4 kB / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/1.019, allocations: 199.7 kB / 1.08 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/1.02, allocations: 446.3 kB / 1.08 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/1.021, allocations: 39.97 kB / 1.08 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/1.024, allocations: 3.077 MB / 1.083 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.024, allocations: 4.031 kB / 1.083 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/1.029, allocations: 3.075 MB / 1.086 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.03, allocations: 0.5413 MB / 1.087 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.031, allocations: 35.94 kB / 1.087 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.032, allocations: 195.5 kB / 1.087 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.032, allocations: 105.1 kB / 1.087 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.032, allocations: 51.97 kB / 1.087 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002553/1.035, allocations: 1.479 MB / 1.089 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/1.035, allocations: 0 / 1.089 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004389/1.039, allocations: 1.499 MB / 1.09 GB, free: 0.8516 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005852/1.045, allocations: 4.075 MB / 1.094 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005612/1.051, allocations: 3.385 MB / 1.098 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.051, allocations: 7.891 kB / 1.098 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.052, allocations: 1.032 MB / 1.099 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/1.058, allocations: 1.126 MB / 1.1 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.076, allocations: 17.27 MB / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/1.078, allocations: 2.215 MB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003187/1.081, allocations: 0.9572 MB / 1.12 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.083, allocations: 1.026 MB / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.083, allocations: 0 / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.215, allocations: 66.74 MB / 1.186 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/1.216, allocations: 270.8 kB / 1.186 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.448, allocations: 0 / 1.186 GB, free: 14.87 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat does not exist to compare? outputFormat=mat