Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState",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.001382/0.001382, allocations: 100.1 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.001851/0.001852, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.489/2.489, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003292, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7574, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1668/0.9242, allocations: 135.8 MB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03132/0.9556, allocations: 22.73 MB / 1.108 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.9589, allocations: 59.62 kB / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.9614, allocations: 0.6098 MB / 1.109 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.9692, allocations: 1.955 MB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006104/0.9753, allocations: 1.68 MB / 1.113 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006486/0.9818, allocations: 2.813 MB / 1.115 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005295/0.9871, allocations: 2.801 MB / 1.118 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.9903, allocations: 1.253 MB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.9937, allocations: 1.509 MB / 1.121 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.9949, allocations: 108 kB / 1.121 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.999, allocations: 0.9675 MB / 1.122 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/1.001, allocations: 0.642 MB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/1.002, allocations: 0.5897 MB / 1.123 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/1.009, allocations: 4.365 MB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.009, allocations: 3.938 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.505e-06/1.009, allocations: 0 / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001798/1.009, allocations: 4 kB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 793 * Number of variables: 793 Notification: Performance of Generate backend data structure: time 0.01003/1.02, allocations: 3.735 MB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.02, allocations: 8.031 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001577/1.021, allocations: 450.2 kB / 1.131 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/1.035, allocations: 2.862 MB / 1.134 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/1.041, allocations: 2.092 MB / 1.136 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/1.041, allocations: 234.2 kB / 1.136 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009648/1.042, allocations: 300 kB / 1.137 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/1.056, allocations: 5.137 MB / 1.142 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.668e-05/1.056, allocations: 0 / 1.142 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/1.056, allocations: 124 kB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/1.056, allocations: 80 kB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/1.073, allocations: 6.346 MB / 1.148 GB, free: 8.238 MB / 0.9044 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.03252/1.105, allocations: 15.95 MB / 1.164 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009196/1.115, allocations: 4.111 MB / 1.168 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/1.115, allocations: 224.1 kB / 1.168 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005039/1.12, allocations: 2.369 MB / 1.17 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=252): time 6.031e-06/1.12, allocations: 0 / 1.17 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of matching and sorting (n=252): time 0.01464/1.135, allocations: 6.538 MB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/1.135, allocations: 287 kB / 1.177 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/1.138, allocations: 2.204 MB / 1.179 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/1.139, allocations: 77.7 kB / 1.179 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.14, allocations: 1.258 MB / 1.18 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/1.141, allocations: 0.8241 MB / 1.181 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/1.141, allocations: 48 kB / 1.181 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.141, allocations: 406.8 kB / 1.182 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/1.145, allocations: 1.804 MB / 1.183 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/1.15, allocations: 2.189 MB / 1.185 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.154, allocations: 1.979 MB / 1.187 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.154, allocations: 0 / 1.187 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01134/1.165, allocations: 4.575 MB / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.166, allocations: 9.719 kB / 1.192 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.166, allocations: 8 kB / 1.192 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/1.166, allocations: 240.9 kB / 1.192 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/1.17, allocations: 0.7917 MB / 1.193 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/1.174, allocations: 3.179 MB / 1.196 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/1.179, allocations: 0.6099 MB / 1.197 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008165/1.18, allocations: 107.9 kB / 1.197 GB, free: 5.191 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 285 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00319/1.183, allocations: 0.8602 MB / 1.198 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.185, allocations: 260.8 kB / 1.198 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.198, allocations: 4.89 MB / 1.203 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.198, allocations: 28 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.198, allocations: 4 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-05/1.198, allocations: 11.95 kB / 1.203 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.217, allocations: 8.319 MB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.217, allocations: 12 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.22, allocations: 0.6208 MB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008442/1.221, allocations: 270.3 kB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.221, allocations: 79.94 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/1.226, allocations: 4.882 MB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.226, allocations: 11.94 kB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/1.24, allocations: 6.99 MB / 1.223 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.243, allocations: 0.7897 MB / 1.224 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.244, allocations: 75.94 kB / 1.224 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/1.247, allocations: 340 kB / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/1.248, allocations: 221.4 kB / 1.225 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003322/1.248, allocations: 107.9 kB / 1.225 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003777/1.252, allocations: 1.576 MB / 1.226 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.92e-07/1.252, allocations: 4 kB / 1.226 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005884/1.258, allocations: 0.9313 MB / 1.227 GB, free: 4.781 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0188/1.277, allocations: 11.03 MB / 1.238 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.287, allocations: 4.003 MB / 1.242 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.287, allocations: 4.062 kB / 1.242 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.293, allocations: 2.507 MB / 1.244 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.296, allocations: 0.5672 MB / 1.245 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6054/1.902, allocations: 26.98 MB / 1.271 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/1.904, allocations: 2.374 MB / 1.274 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004239/1.908, allocations: 1.004 MB / 1.275 GB, free: 264.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.911, allocations: 1.317 MB / 1.276 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.203e-06/1.911, allocations: 4 kB / 1.276 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09899/2.01, allocations: 67 MB / 1.341 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/2.01, allocations: 264.2 kB / 1.342 GB, free: 205.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/5.457, allocations: 4 kB / 1.342 GB, free: 205.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState_res.mat does not exist to compare? outputFormat=mat