Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.001558/0.001558, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003176/0.003176, allocations: 198.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.459/2.459, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.014/5.014, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 65.97 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4178, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006263/0.4241, allocations: 4.137 MB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.4268, allocations: 1.593 MB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.4271, allocations: 7.938 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.4291, allocations: 0.5595 MB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006466/0.4297, allocations: 211.1 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.4304, allocations: 195.6 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007996/0.4312, allocations: 0.5375 MB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008865/0.4321, allocations: 0.5176 MB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.4325, allocations: 235.2 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.4329, allocations: 259.1 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.433, allocations: 39.94 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.4333, allocations: 163.7 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4335, allocations: 151.7 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.4337, allocations: 195.1 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.4343, allocations: 0.5334 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4344, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4344, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.4344, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0013/0.4357, allocations: 0.6788 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4357, allocations: 8.625 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.522e-05/0.4358, allocations: 74.72 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.4366, allocations: 108.4 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.4371, allocations: 299.6 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.4372, allocations: 55.25 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.4372, allocations: 40.38 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.4381, allocations: 0.4968 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4382, allocations: 3.938 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.4382, allocations: 15.98 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.4383, allocations: 32.98 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.4391, allocations: 383.7 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.4431, allocations: 2.204 MB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.4444, allocations: 258.7 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.4449, allocations: 156.7 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.445, allocations: 8 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.445, allocations: 34.5 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 2.675e-06/0.445, allocations: 0 / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.002027/0.4471, allocations: 0.5727 MB / 1.067 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4471, allocations: 51.41 kB / 1.067 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4474, allocations: 225 kB / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.4475, allocations: 37.7 kB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4477, allocations: 207.7 kB / 1.067 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.4477, allocations: 67 kB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4479, allocations: 53.7 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003004/0.4482, allocations: 334.8 kB / 1.068 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.4484, allocations: 96.8 kB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.4487, allocations: 187.6 kB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.4495, allocations: 284.9 kB / 1.068 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.4496, allocations: 3.938 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001288/0.4509, allocations: 366.9 kB / 1.069 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4509, allocations: 9.406 kB / 1.069 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4509, allocations: 7.938 kB / 1.069 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.4517, allocations: 101.8 kB / 1.069 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.452, allocations: 63.84 kB / 1.069 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.4568, allocations: 3.047 MB / 1.072 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4572, allocations: 31.73 kB / 1.072 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.4573, allocations: 12 kB / 1.072 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004232/0.4577, allocations: 216 kB / 1.072 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003206/0.458, allocations: 183 kB / 1.072 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005122/0.4585, allocations: 270.8 kB / 1.072 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.4586, allocations: 0 / 1.072 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001129/0.4597, allocations: 355.4 kB / 1.073 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4597, allocations: 4 kB / 1.073 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4597, allocations: 4 kB / 1.073 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.4601, allocations: 80.91 kB / 1.073 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.4604, allocations: 55.91 kB / 1.073 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.4627, allocations: 1.613 MB / 1.074 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.4631, allocations: 35.77 kB / 1.075 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4631, allocations: 8 kB / 1.075 GB, free: 0.8711 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.4633, allocations: 200.3 kB / 1.075 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.4633, allocations: 23.7 kB / 1.075 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.631e-05/0.4634, allocations: 30.19 kB / 1.075 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4635, allocations: 0 / 1.075 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4635, allocations: 3.938 kB / 1.075 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4635, allocations: 7.984 kB / 1.075 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4651, allocations: 0.8228 MB / 1.076 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4651, allocations: 0 / 1.076 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4653, allocations: 35.97 kB / 1.076 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.4657, allocations: 105.6 kB / 1.076 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.4657, allocations: 4 kB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.469, allocations: 3.031 MB / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.469, allocations: 0 / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.4699, allocations: 410.6 kB / 1.079 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4701, allocations: 120.7 kB / 1.079 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.4701, allocations: 8 kB / 1.079 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4703, allocations: 11.98 kB / 1.079 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4704, allocations: 23.97 kB / 1.079 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4705, allocations: 4 kB / 1.079 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001986/0.4707, allocations: 160.5 kB / 1.079 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4707, allocations: 0 / 1.079 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007703/0.4714, allocations: 175.3 kB / 1.08 GB, free: 11.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.4729, allocations: 0.9473 MB / 1.08 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.4759, allocations: 0.7752 MB / 1.081 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.4759, allocations: 0 / 1.081 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4771, allocations: 375.9 kB / 1.082 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.4779, allocations: 58.47 kB / 1.082 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.4845, allocations: 2.977 MB / 1.085 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.4849, allocations: 0.8106 MB / 1.085 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.4852, allocations: 62.23 kB / 1.085 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4853, allocations: 91.41 kB / 1.085 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.4854, allocations: 0 / 1.085 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.797/2.283, allocations: 7.03 MB / 1.092 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/2.283, allocations: 247.8 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/5.642, allocations: 0 / 1.093 GB, free: 13.84 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat