Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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.001002/0.001001, allocations: 99.62 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.0009668/0.0009668, allocations: 177.3 kB / 15.94 MB, free: 228 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.61/2.61, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 15.94 kB / 0.8146 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7975, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002544/0.8001, allocations: 2.051 MB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.8029, allocations: 1.459 MB / 0.957 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.8032, allocations: 11.28 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.8038, allocations: 279.5 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.8043, allocations: 283.8 kB / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008423/0.8051, allocations: 368.1 kB / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.8057, allocations: 440.5 kB / 0.9584 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.8058, allocations: 77.7 kB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.8062, allocations: 287.6 kB / 0.9587 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.8065, allocations: 260.3 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.8065, allocations: 12.12 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.8068, allocations: 52.27 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.8069, allocations: 170.5 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.8071, allocations: 122.6 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.8076, allocations: 0.5763 MB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8076, allocations: 0 / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8076, allocations: 0.8125 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.8076, allocations: 0 / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001296/0.8089, allocations: 0.9084 MB / 0.9607 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.809, allocations: 9.938 kB / 0.9608 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.809, allocations: 42.7 kB / 0.9608 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.8092, allocations: 76.55 kB / 0.9609 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.81, allocations: 0.5876 MB / 0.9614 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.8101, allocations: 17.98 kB / 0.9615 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.8101, allocations: 13.75 kB / 0.9615 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.8105, allocations: 196.4 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8105, allocations: 1.125 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.8105, allocations: 5.094 kB / 0.9617 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8105, allocations: 12.08 kB / 0.9617 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.8108, allocations: 103.4 kB / 0.9618 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.812, allocations: 1.047 MB / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.8125, allocations: 277.8 kB / 0.9631 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.8125, allocations: 16.5 kB / 0.9631 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.8129, allocations: 218.9 kB / 0.9633 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.8129, allocations: 0 / 0.9633 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0008642/0.8138, allocations: 418.6 kB / 0.9637 GB, free: 428 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.8138, allocations: 165.2 kB / 0.9638 GB, free: 228 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.815, allocations: 1.026 MB / 0.9648 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.8151, allocations: 37.98 kB / 0.9649 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.8153, allocations: 289 kB / 0.9652 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.8154, allocations: 81.11 kB / 0.9652 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.8155, allocations: 13.91 kB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8156, allocations: 328.1 kB / 0.9656 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.8159, allocations: 213.7 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.8164, allocations: 301.3 kB / 0.9661 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.8168, allocations: 237.2 kB / 0.9663 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8168, allocations: 1 kB / 0.9663 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001126/0.818, allocations: 0.6734 MB / 0.9669 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.818, allocations: 6.938 kB / 0.9669 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.818, allocations: 3.375 kB / 0.9669 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.818, allocations: 4.438 kB / 0.967 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.8185, allocations: 117.4 kB / 0.9671 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.8185, allocations: 9.406 kB / 0.9671 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.8188, allocations: 43.86 kB / 0.9671 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.8189, allocations: 27.45 kB / 0.9671 GB, free: 14.24 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003281/0.8192, allocations: 282.1 kB / 0.9674 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.8193, allocations: 76.27 kB / 0.9675 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.8195, allocations: 75.56 kB / 0.9676 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8195, allocations: 3.062 kB / 0.9676 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8195, allocations: 5.594 kB / 0.9676 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8195, allocations: 6.234 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.82, allocations: 464.1 kB / 0.968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.82, allocations: 1 kB / 0.968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.8201, allocations: 20.36 kB / 0.968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.8201, allocations: 2.531 kB / 0.968 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.8201, allocations: 12.86 kB / 0.968 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.8202, allocations: 2.031 kB / 0.968 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8202, allocations: 4.906 kB / 0.9681 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.8208, allocations: 436.8 kB / 0.9685 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.821, allocations: 168.2 kB / 0.9686 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.8211, allocations: 16.48 kB / 0.9686 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.8213, allocations: 19.3 kB / 0.9687 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.8214, allocations: 29.67 kB / 0.9687 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.8214, allocations: 10.59 kB / 0.9687 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009161/0.8223, allocations: 0.6006 MB / 0.9693 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8224, allocations: 0 / 0.9693 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004995/0.8229, allocations: 113.7 kB / 0.9694 GB, free: 12.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002122/0.825, allocations: 1.641 MB / 0.971 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.8258, allocations: 397 kB / 0.9714 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8259, allocations: 3.938 kB / 0.9714 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.8261, allocations: 103.1 kB / 0.9715 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008295/0.8269, allocations: 193.6 kB / 0.9717 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.83, allocations: 2.958 MB / 0.9746 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.8307, allocations: 0.9422 MB / 0.9755 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.831, allocations: 111.2 kB / 0.9756 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.8314, allocations: 235.4 kB / 0.9758 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.8314, allocations: 1.406 kB / 0.9758 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.8634, allocations: 13.25 MB / 0.9887 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.8638, allocations: 243.6 kB / 0.989 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.816, allocations: 0 / 0.989 GB, free: 11.69 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat