Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",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.0009409/0.0009409, 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.0009839/0.0009839, allocations: 177.3 kB / 15.95 MB, free: 216 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.394/2.394, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6956, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.1808/0.8765, allocations: 153.4 MB / 1.103 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.8892, allocations: 8.994 MB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.8909, allocations: 23.81 kB / 1.112 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.8923, allocations: 385.9 kB / 1.113 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.8968, allocations: 1.375 MB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.9005, allocations: 1.21 MB / 1.115 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.9037, allocations: 1.529 MB / 1.117 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.9052, allocations: 0.8784 MB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.9075, allocations: 1.094 MB / 1.118 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.909, allocations: 0.993 MB / 1.119 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.9093, allocations: 80 kB / 1.12 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.9122, allocations: 1.158 MB / 1.121 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.9128, allocations: 482.5 kB / 1.121 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.9132, allocations: 264.9 kB / 1.121 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.9158, allocations: 1.914 MB / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9158, allocations: 0 / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9158, allocations: 0 / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.9158, allocations: 0 / 1.123 GB, free: 2.055 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005231/0.9211, allocations: 1.944 MB / 1.125 GB, free: 60 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9211, allocations: 8.031 kB / 1.125 GB, free: 52 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.9213, allocations: 118.5 kB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9226, allocations: 233.9 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.9252, allocations: 1.349 MB / 1.127 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.9253, allocations: 66 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.9255, allocations: 88 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.9272, allocations: 0.9979 MB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.9272, allocations: 3.953 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.9273, allocations: 32 kB / 1.128 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.9273, allocations: 24 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.9291, allocations: 0.9106 MB / 1.129 GB, free: 12.11 MB / 0.8887 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.006843/0.9359, allocations: 4.752 MB / 1.134 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.9375, allocations: 0.7781 MB / 1.134 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.9377, allocations: 102.4 kB / 1.134 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9377, allocations: 42.98 kB / 1.134 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.9377, allocations: 0 / 1.134 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=50): time 0.005127/0.9429, allocations: 1.628 MB / 1.136 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.9429, allocations: 59.78 kB / 1.136 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.9457, allocations: 1.82 MB / 1.138 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.946, allocations: 37.7 kB / 1.138 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.9465, allocations: 0.5949 MB / 1.138 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.9467, allocations: 173.5 kB / 1.139 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.9468, allocations: 16 kB / 1.139 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9469, allocations: 341.9 kB / 1.139 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.9486, allocations: 0.9545 MB / 1.14 GB, free: 500 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.9506, allocations: 1.306 MB / 1.141 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.952, allocations: 0.8613 MB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9521, allocations: 0 / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004392/0.9565, allocations: 2.189 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006508/0.9571, allocations: 1.875 MB / 1.146 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.9572, allocations: 4 kB / 1.146 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/0.958, allocations: 140.7 kB / 1.146 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.9591, allocations: 179.7 kB / 1.146 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.9602, allocations: 1.318 MB / 1.148 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.9622, allocations: 230.4 kB / 1.148 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9624, allocations: 35.98 kB / 1.148 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.9624, allocations: 5.719 kB / 1.148 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003484/0.9659, allocations: 1.969 MB / 1.15 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.9659, allocations: 8 kB / 1.15 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.9659, allocations: 11.94 kB / 1.15 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.9669, allocations: 200.2 kB / 1.15 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.967, allocations: 8 kB / 1.15 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.9689, allocations: 200.2 kB / 1.15 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.969, allocations: 35.98 kB / 1.15 GB, free: 5.613 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006682/0.9697, allocations: 395.5 kB / 1.151 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.97, allocations: 138.2 kB / 1.151 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.9722, allocations: 1.025 MB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.9722, allocations: 12.14 kB / 1.152 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9722, allocations: 3.984 kB / 1.152 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.9722, allocations: 3.984 kB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.9764, allocations: 2.281 MB / 1.154 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9764, allocations: 7.938 kB / 1.154 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.977, allocations: 115.8 kB / 1.154 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000757/0.9778, allocations: 148.8 kB / 1.154 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.9778, allocations: 23.94 kB / 1.154 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009823/0.9788, allocations: 1.306 MB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9789, allocations: 7.938 kB / 1.156 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.9819, allocations: 1.739 MB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.9826, allocations: 323 kB / 1.158 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.9828, allocations: 19.94 kB / 1.158 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9839, allocations: 95.95 kB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.984, allocations: 40.33 kB / 1.158 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.9841, allocations: 19.98 kB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001858/0.986, allocations: 1.301 MB / 1.159 GB, free: 12.37 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/0.986, allocations: 0 / 1.159 GB, free: 12.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001909/0.9879, allocations: 0.6826 MB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004359/0.9923, allocations: 3.001 MB / 1.163 GB, free: 8.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005787/0.9981, allocations: 2.78 MB / 1.165 GB, free: 5.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.9981, allocations: 8.062 kB / 1.165 GB, free: 5.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009781/0.9991, allocations: 454.6 kB / 1.166 GB, free: 5.371 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.002, allocations: 431.1 kB / 1.166 GB, free: 4.949 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/1.008, allocations: 6.537 MB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/1.009, allocations: 1.202 MB / 1.174 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00191/1.011, allocations: 382.4 kB / 1.174 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/1.012, allocations: 0.4915 MB / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of SimCode: time 1.032e-06/1.012, allocations: 0 / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06799/1.08, allocations: 38.83 MB / 1.212 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.08, allocations: 261.9 kB / 1.213 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.839, allocations: 1.625 kB / 1.213 GB, free: 5.473 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat does not exist to compare? outputFormat=mat