Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.001269/0.001269, allocations: 99.86 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.0014/0.0014, 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.372/1.372, 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.427/2.427, allocations: 390.3 MB / 0.6653 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 8 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05195/0.853, allocations: 52.62 MB / 1.005 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.8769, allocations: 14.51 MB / 1.019 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.8811, allocations: 75.5 kB / 1.019 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004188/0.8853, allocations: 0.9601 MB / 1.02 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.895, allocations: 2.638 MB / 1.023 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006219/0.9013, allocations: 2.008 MB / 1.025 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006747/0.908, allocations: 3.022 MB / 1.028 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.9108, allocations: 1.361 MB / 1.029 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.9153, allocations: 1.541 MB / 1.03 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.9179, allocations: 0.9683 MB / 1.031 GB, free: 340 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.9184, allocations: 72 kB / 1.031 GB, free: 268 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.9225, allocations: 1.373 MB / 1.033 GB, free: 14.89 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.9233, allocations: 394.4 kB / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.9244, allocations: 440.6 kB / 1.034 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.9291, allocations: 2.603 MB / 1.036 GB, free: 11.45 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.9291, allocations: 4 kB / 1.036 GB, free: 11.45 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9291, allocations: 3.938 kB / 1.036 GB, free: 11.45 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.244e-05/0.9292, allocations: 0 / 1.036 GB, free: 11.45 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00513/0.9344, allocations: 2.215 MB / 1.038 GB, free: 9.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9344, allocations: 8.031 kB / 1.038 GB, free: 9.156 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004037/0.9348, allocations: 177.5 kB / 1.039 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/0.9395, allocations: 0.8521 MB / 1.039 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.9441, allocations: 1.762 MB / 1.041 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.9445, allocations: 174.2 kB / 1.041 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/0.9449, allocations: 124 kB / 1.041 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.9486, allocations: 1.67 MB / 1.043 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.9486, allocations: 0 / 1.043 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.9488, allocations: 52 kB / 1.043 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.9489, allocations: 54.02 kB / 1.043 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.9531, allocations: 1.597 MB / 1.045 GB, free: 2.52 MB / 0.795 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.01357/0.9667, allocations: 9.09 MB / 1.054 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.9721, allocations: 1.483 MB / 1.055 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/0.9789, allocations: 3.294 MB / 1.058 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.9808, allocations: 0.6784 MB / 1.059 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/0.9819, allocations: 183 kB / 1.059 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=66): time 3.897e-06/0.9819, allocations: 0 / 1.059 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66): time 0.005418/0.9874, allocations: 1.738 MB / 1.061 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.9875, allocations: 63.97 kB / 1.061 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.9901, allocations: 1.583 MB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.9902, allocations: 41.7 kB / 1.062 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/0.9911, allocations: 0.8843 MB / 1.063 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.9914, allocations: 240.7 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.9914, allocations: 23.94 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9916, allocations: 341.9 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.9933, allocations: 0.5764 MB / 1.064 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.9953, allocations: 1.002 MB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.9971, allocations: 0.6567 MB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.9971, allocations: 4 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00457/1.002, allocations: 1.719 MB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.002003/1.004, allocations: 5.01 MB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.004, allocations: 12 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/1.004, allocations: 20 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.005, allocations: 359.4 kB / 1.073 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/1.006, allocations: 27.92 kB / 1.073 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.008, allocations: 204.5 kB / 1.073 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/1.008, allocations: 63.97 kB / 1.073 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.008, allocations: 7.953 kB / 1.073 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00423/1.012, allocations: 1.547 MB / 1.075 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/1.012, allocations: 12 kB / 1.075 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/1.012, allocations: 20 kB / 1.075 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.014, allocations: 348.1 kB / 1.075 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-05/1.014, allocations: 23.92 kB / 1.075 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/1.016, allocations: 212.3 kB / 1.075 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.016, allocations: 67.91 kB / 1.075 GB, free: 1.332 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.001097/1.017, allocations: 488.7 kB / 1.076 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/1.018, allocations: 177.8 kB / 1.076 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/1.022, allocations: 1.564 MB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.022, allocations: 11.98 kB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.022, allocations: 4 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003423/1.026, allocations: 1.441 MB / 1.079 GB, free: 13.59 MB / 0.8419 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 postOpt removeSimpleEquations (simulation): time 0.007853/1.033, allocations: 3.245 MB / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.034, allocations: 0 / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.035, allocations: 239.7 kB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.035, allocations: 8 kB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/1.035, allocations: 27.97 kB / 1.082 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/1.035, allocations: 4 kB / 1.082 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.035, allocations: 4.047 kB / 1.082 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/1.041, allocations: 2.281 MB / 1.085 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.042, allocations: 394.5 kB / 1.085 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/1.042, allocations: 16 kB / 1.085 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.044, allocations: 191.7 kB / 1.085 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.044, allocations: 52.56 kB / 1.085 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.044, allocations: 39.97 kB / 1.085 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002158/1.047, allocations: 1.058 MB / 1.086 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.047, allocations: 0 / 1.086 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004092/1.051, allocations: 0.9628 MB / 1.087 GB, free: 4.895 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.007495/1.058, allocations: 3.402 MB / 1.091 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005978/1.064, allocations: 2.283 MB / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.064, allocations: 0 / 1.093 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.066, allocations: 0.6638 MB / 1.093 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/1.07, allocations: 0.7342 MB / 1.094 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.084, allocations: 13.33 MB / 1.107 GB, free: 124 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.085, allocations: 1.408 MB / 1.109 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002547/1.088, allocations: 458.7 kB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.089, allocations: 0.7531 MB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/1.089, allocations: 0 / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09204/1.181, allocations: 49.19 MB / 1.158 GB, free: 13.01 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.181, allocations: 254.8 kB / 1.158 GB, free: 12.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.162, allocations: 0 / 1.158 GB, free: 12.68 MB / 0.92 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat does not exist to compare? outputFormat=mat