Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",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.0007938/0.0007937, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009047/0.0009046, allocations: 168.7 kB / 15.95 MB, free: 204 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.624/2.624, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 15.94 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8223, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001086/0.8234, allocations: 0.5523 MB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.8253, allocations: 1.417 MB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.8254, allocations: 4 kB / 0.9831 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.8259, allocations: 183.5 kB / 0.9833 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.826, allocations: 111.7 kB / 0.9834 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009109/0.8269, allocations: 328.1 kB / 0.9837 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.8277, allocations: 0.6589 MB / 0.9843 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.8279, allocations: 80.42 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.8282, allocations: 299.4 kB / 0.9847 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.8285, allocations: 223.4 kB / 0.9849 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.8286, allocations: 12 kB / 0.9849 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.8288, allocations: 79.88 kB / 0.985 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.8293, allocations: 303.4 kB / 0.9853 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.8294, allocations: 85.45 kB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.83, allocations: 0.7037 MB / 0.9861 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.83, allocations: 0 / 0.9861 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.83, allocations: 0 / 0.9861 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8301, allocations: 0 / 0.9861 GB, free: 1.227 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001249/0.8313, allocations: 0.7048 MB / 0.9867 GB, free: 480 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8314, allocations: 8.031 kB / 0.9867 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.8314, allocations: 42.55 kB / 0.9868 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.8316, allocations: 59.42 kB / 0.9868 GB, free: 360 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.8324, allocations: 0.5244 MB / 0.9874 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.8324, allocations: 24.23 kB / 0.9874 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.8325, allocations: 36 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.833, allocations: 309.6 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.833, allocations: 0 / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.8331, allocations: 4 kB / 0.9877 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.8331, allocations: 4 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.8334, allocations: 219.8 kB / 0.9879 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.8352, allocations: 1.191 MB / 0.9891 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.8358, allocations: 467.7 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.8361, allocations: 174.6 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.8361, allocations: 8 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.8366, allocations: 329.6 kB / 0.99 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.8366, allocations: 0 / 0.99 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001014/0.8376, allocations: 0.6256 MB / 0.9906 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.8377, allocations: 122.8 kB / 0.9908 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.8384, allocations: 0.5916 MB / 0.9913 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/0.8385, allocations: 45.7 kB / 0.9914 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.8387, allocations: 226.8 kB / 0.9916 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.8388, allocations: 51.44 kB / 0.9916 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.8388, allocations: 4 kB / 0.9916 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.839, allocations: 358.8 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.8392, allocations: 127.9 kB / 0.9921 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008017/0.84, allocations: 0.7137 MB / 0.9928 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.8402, allocations: 167.9 kB / 0.993 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8402, allocations: 0 / 0.993 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006026/0.8408, allocations: 417 kB / 0.9934 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.8409, allocations: 13.56 kB / 0.9934 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8409, allocations: 4 kB / 0.9934 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8409, allocations: 7.938 kB / 0.9934 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.8411, allocations: 39.86 kB / 0.9934 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.8411, allocations: 4 kB / 0.9934 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.8422, allocations: 153.8 kB / 0.9936 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.8423, allocations: 8.25 kB / 0.9936 GB, free: 9.055 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.8426, allocations: 261.7 kB / 0.9938 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.8427, allocations: 39.53 kB / 0.9939 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.8428, allocations: 55.38 kB / 0.9939 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8428, allocations: 0 / 0.9939 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8428, allocations: 15.88 kB / 0.9939 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8428, allocations: 0 / 0.9939 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.8432, allocations: 405.2 kB / 0.9943 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8432, allocations: 0.75 kB / 0.9943 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.8433, allocations: 7.984 kB / 0.9943 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.8433, allocations: 4 kB / 0.9943 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.8433, allocations: 8 kB / 0.9943 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8433, allocations: 0 / 0.9943 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.8433, allocations: 4 kB / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.844, allocations: 0.5196 MB / 0.9949 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.8441, allocations: 136.5 kB / 0.995 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.8442, allocations: 7.984 kB / 0.995 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.8443, allocations: 23.97 kB / 0.995 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.8444, allocations: 27.97 kB / 0.995 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.8445, allocations: 23.94 kB / 0.9951 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004935/0.845, allocations: 431 kB / 0.9955 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.845, allocations: 0 / 0.9955 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004831/0.8455, allocations: 111.9 kB / 0.9956 GB, free: 6.906 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.8466, allocations: 1.105 MB / 0.9967 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.8472, allocations: 352 kB / 0.997 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8472, allocations: 0 / 0.997 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.8475, allocations: 188.6 kB / 0.9972 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.8478, allocations: 40.62 kB / 0.9972 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.8524, allocations: 3.202 MB / 1 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.8529, allocations: 0.8392 MB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.8532, allocations: 90.92 kB / 1.001 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.8534, allocations: 131.4 kB / 1.001 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/0.8534, allocations: 0 / 1.001 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.8784, allocations: 11.5 MB / 1.013 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.8786, allocations: 238.2 kB / 1.013 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.949, allocations: 0 / 1.013 GB, free: 5.418 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat