Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Discrete.Examples.TriggeredMovingMean,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMovingMean",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.0009261/0.0009262, 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.001039/0.001038, 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.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.586/2.586, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8292, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.001414/0.8307, allocations: 0.5732 MB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.8327, allocations: 1.284 MB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.8328, allocations: 3.938 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.8329, allocations: 3.938 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.8331, allocations: 31.77 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.8338, allocations: 240.8 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.834, allocations: 227.5 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.8342, allocations: 25.09 kB / 0.9835 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.8344, allocations: 111.7 kB / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.8346, allocations: 99.69 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.8346, allocations: 12 kB / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.8347, allocations: 23.98 kB / 0.9837 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.8348, allocations: 39.88 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.8349, allocations: 53.64 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.8351, allocations: 177.9 kB / 0.984 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8351, allocations: 3.984 kB / 0.984 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8351, allocations: 0 / 0.984 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8352, allocations: 0 / 0.984 GB, free: 3.34 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008839/0.836, allocations: 0.4908 MB / 0.9844 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.8361, allocations: 15.97 kB / 0.9845 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.8362, allocations: 46.53 kB / 0.9845 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.8363, allocations: 19.81 kB / 0.9845 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.8366, allocations: 230.7 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.8366, allocations: 8 kB / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.8367, allocations: 23.98 kB / 0.9848 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.837, allocations: 199.4 kB / 0.985 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.837, allocations: 0 / 0.985 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.8371, allocations: 7.984 kB / 0.985 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8371, allocations: 0 / 0.985 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.8373, allocations: 96.17 kB / 0.9851 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.8379, allocations: 476.7 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.8382, allocations: 136.1 kB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.8384, allocations: 96.98 kB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.8384, allocations: 0 / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.8387, allocations: 211.9 kB / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.492e-06/0.8387, allocations: 0 / 0.9859 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.0008144/0.8396, allocations: 455.5 kB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.8396, allocations: 63.27 kB / 0.9864 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8398, allocations: 139 kB / 0.9866 GB, free: 464 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.8398, allocations: 41.7 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.8399, allocations: 104.6 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.84, allocations: 71.17 kB / 0.9868 GB, free: 236 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.84, allocations: 8 kB / 0.9868 GB, free: 228 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8401, allocations: 334.8 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.8404, allocations: 148.6 kB / 0.9873 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.8408, allocations: 213.2 kB / 0.9875 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.8411, allocations: 212.5 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8411, allocations: 4 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008287/0.842, allocations: 0.4984 MB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.842, allocations: 67.39 kB / 0.9882 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.842, allocations: 0 / 0.9882 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8421, allocations: 4 kB / 0.9882 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.8423, allocations: 55.91 kB / 0.9883 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8423, allocations: 7.984 kB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.8427, allocations: 105.3 kB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.8428, allocations: 20 kB / 0.9884 GB, free: 14.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001852/0.843, allocations: 161.7 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.843, allocations: 19.91 kB / 0.9886 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.843, allocations: 25.78 kB / 0.9886 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.843, allocations: 4 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8431, allocations: 0 / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8431, allocations: 4 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.8439, allocations: 0.6706 MB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8439, allocations: 0 / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.844, allocations: 7.984 kB / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.844, allocations: 0 / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.844, allocations: 7.984 kB / 0.9893 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.844, allocations: 4 kB / 0.9893 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.844, allocations: 4 kB / 0.9893 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.8446, allocations: 451.9 kB / 0.9897 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.8447, allocations: 100.8 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.8447, allocations: 15.98 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8448, allocations: 4 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.8449, allocations: 23.97 kB / 0.9898 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.8449, allocations: 15.98 kB / 0.9899 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.139e-05/0.845, allocations: 107.2 kB / 0.99 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.845, allocations: 0 / 0.99 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003394/0.8454, allocations: 67.84 kB / 0.99 GB, free: 12.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.000939/0.8463, allocations: 1.023 MB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006948/0.847, allocations: 451.9 kB / 0.9915 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.847, allocations: 0 / 0.9915 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.8473, allocations: 128.1 kB / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.8476, allocations: 27.97 kB / 0.9916 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.8497, allocations: 1.288 MB / 0.9929 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.85, allocations: 0.7206 MB / 0.9936 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.8501, allocations: 21.53 kB / 0.9936 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.8502, allocations: 51.36 kB / 0.9936 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.8502, allocations: 0 / 0.9936 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.8667, allocations: 4.808 MB / 0.9983 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8669, allocations: 207.3 kB / 0.9985 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.782, allocations: 0 / 0.9985 GB, free: 4.059 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMovingMean_fmu --startTime=-0.5 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMovingMean.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean_res.mat does not exist to compare? outputFormat=mat