Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.001263/0.001262, allocations: 100 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.001456/0.001456, 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.483/2.483, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7139, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.0215/0.7354, allocations: 20.69 MB / 0.9738 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.7462, allocations: 5.918 MB / 0.9796 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.7477, allocations: 28.22 kB / 0.9796 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.7491, allocations: 405 kB / 0.98 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.7539, allocations: 1.392 MB / 0.9813 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.7572, allocations: 0.9975 MB / 0.9823 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.7598, allocations: 1.276 MB / 0.9836 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.7606, allocations: 451.8 kB / 0.984 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.7617, allocations: 0.5282 MB / 0.9845 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.7622, allocations: 349.8 kB / 0.9848 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.7623, allocations: 21.5 kB / 0.9849 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.7641, allocations: 0.6921 MB / 0.9855 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.7643, allocations: 122 kB / 0.9857 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.7645, allocations: 164.1 kB / 0.9858 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.7659, allocations: 0.9038 MB / 0.9867 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7659, allocations: 0 / 0.9867 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7659, allocations: 0 / 0.9867 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.7659, allocations: 0 / 0.9867 GB, free: 14.16 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001398/0.7673, allocations: 0.9382 MB / 0.9876 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7674, allocations: 12.02 kB / 0.9876 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.7675, allocations: 82.53 kB / 0.9877 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.7697, allocations: 282.7 kB / 0.988 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.771, allocations: 0.6429 MB / 0.9886 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.771, allocations: 36.95 kB / 0.9886 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.7711, allocations: 48 kB / 0.9887 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.7719, allocations: 0.5126 MB / 0.9892 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.7719, allocations: 11.88 kB / 0.9892 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.772, allocations: 20 kB / 0.9892 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.772, allocations: 12 kB / 0.9892 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.7727, allocations: 355.7 kB / 0.9896 GB, free: 11.08 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.003328/0.776, allocations: 2.83 MB / 0.9923 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.7766, allocations: 304.2 kB / 0.9926 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.7773, allocations: 0.6611 MB / 0.9933 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.7773, allocations: 42.8 kB / 0.9933 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.7773, allocations: 0 / 0.9933 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.006819/0.7841, allocations: 2.078 MB / 0.9953 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.7842, allocations: 85.11 kB / 0.9954 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/0.785, allocations: 0.5108 MB / 0.9959 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.7851, allocations: 33.7 kB / 0.9959 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.7853, allocations: 332.3 kB / 0.9963 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7855, allocations: 138 kB / 0.9964 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.7855, allocations: 4 kB / 0.9964 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7857, allocations: 370.8 kB / 0.9967 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.786, allocations: 165 kB / 0.9969 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.7865, allocations: 292.5 kB / 0.9972 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.7869, allocations: 207.5 kB / 0.9974 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7869, allocations: 0 / 0.9974 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00176/0.7887, allocations: 0.7285 MB / 0.9981 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005983/0.7893, allocations: 1.236 MB / 0.9993 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7893, allocations: 4 kB / 0.9993 GB, free: 424 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.7903, allocations: 269.5 kB / 0.9996 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.7907, allocations: 71.91 kB / 0.9996 GB, free: 76 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/0.7974, allocations: 4.41 MB / 1.004 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.7986, allocations: 79.89 kB / 1.004 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.7986, allocations: 27.98 kB / 1.004 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.7987, allocations: 4 kB / 1.004 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/0.8003, allocations: 0.6492 MB / 1.005 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.8003, allocations: 4 kB / 1.005 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/0.8013, allocations: 281.7 kB / 1.005 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.8016, allocations: 71.83 kB / 1.005 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.808, allocations: 4.408 MB / 1.009 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.8092, allocations: 80.42 kB / 1.009 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.8093, allocations: 20 kB / 1.009 GB, free: 5.496 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004907/0.8098, allocations: 285 kB / 1.01 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.8099, allocations: 63.25 kB / 1.01 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.8117, allocations: 0.6738 MB / 1.01 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8117, allocations: 4 kB / 1.01 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8117, allocations: 4 kB / 1.01 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/0.8133, allocations: 0.7376 MB / 1.011 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.8165, allocations: 1.702 MB / 1.013 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.8166, allocations: 3.938 kB / 1.013 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.8168, allocations: 51.97 kB / 1.013 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009691/0.8178, allocations: 261.4 kB / 1.013 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.8178, allocations: 15.98 kB / 1.013 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.8235, allocations: 4.022 MB / 1.017 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8236, allocations: 3.938 kB / 1.017 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.8257, allocations: 0.9447 MB / 1.018 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.8262, allocations: 192.3 kB / 1.018 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.8263, allocations: 24 kB / 1.018 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/0.8273, allocations: 63.92 kB / 1.018 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.8274, allocations: 31.95 kB / 1.018 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.8274, allocations: 15.98 kB / 1.018 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005696/0.828, allocations: 362.8 kB / 1.019 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.828, allocations: 0 / 1.019 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001763/0.8298, allocations: 415.9 kB / 1.019 GB, free: 11.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[1].h_outflow,vol1.ports[1].h_outflow) * 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 (28): * Single equations (assignments): 26 * 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: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003424/0.8332, allocations: 1.746 MB / 1.021 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.8366, allocations: 1.355 MB / 1.022 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8366, allocations: 4 kB / 1.022 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.838, allocations: 0.5404 MB / 1.023 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.8399, allocations: 343.7 kB / 1.023 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008834/0.8487, allocations: 5.803 MB / 1.029 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.8494, allocations: 0.9419 MB / 1.03 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008062/0.8502, allocations: 139.2 kB / 1.03 GB, free: 92 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.8506, allocations: 215.4 kB / 1.03 GB, free: 15.88 MB / 0.795 GB Notification: Performance of SimCode: time 2.003e-06/0.8506, allocations: 0 / 1.03 GB, free: 15.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.8978, allocations: 22.89 MB / 1.052 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.8981, allocations: 304.6 kB / 1.052 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.262, allocations: 0 / 1.052 GB, free: 9.09 MB / 0.8106 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat does not exist to compare? outputFormat=mat