Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 100.2 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.001547/0.001546, 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 15.92 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6932, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1481/0.8413, allocations: 133.2 MB / 1.151 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.8637, allocations: 18.68 MB / 1.169 GB, free: 8.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.8656, allocations: 51.62 kB / 1.169 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.8688, allocations: 2.303 MB / 1.171 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.8743, allocations: 2.393 MB / 1.174 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.8778, allocations: 1.207 MB / 1.175 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.8801, allocations: 1.347 MB / 1.176 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.8812, allocations: 0.8509 MB / 1.177 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000901/0.8821, allocations: 0.7478 MB / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.8836, allocations: 1.192 MB / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.8838, allocations: 40 kB / 1.179 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.884, allocations: 75.86 kB / 1.179 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.8845, allocations: 0.5022 MB / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.8848, allocations: 332.5 kB / 1.18 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.886, allocations: 1.421 MB / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.886, allocations: 4 kB / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.886, allocations: 0 / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.886, allocations: 0 / 1.181 GB, free: 12.37 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003106/0.8891, allocations: 2.094 MB / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8892, allocations: 11.98 kB / 1.183 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.8895, allocations: 241 kB / 1.184 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.8912, allocations: 0.9439 MB / 1.185 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.8914, allocations: 103.6 kB / 1.185 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.8915, allocations: 68 kB / 1.185 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.893, allocations: 0.7932 MB / 1.185 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.8931, allocations: 3.984 kB / 1.185 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.8932, allocations: 28 kB / 1.185 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.8932, allocations: 20 kB / 1.186 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.8944, allocations: 0.6531 MB / 1.186 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.9002, allocations: 3.803 MB / 1.19 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.9019, allocations: 0.7561 MB / 1.191 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.9019, allocations: 12.55 kB / 1.191 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.9028, allocations: 456 kB / 1.191 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=73): time 4.408e-06/0.9028, allocations: 7.922 kB / 1.191 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73): time 0.004198/0.907, allocations: 1.858 MB / 1.193 GB, free: 44 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.9071, allocations: 60.06 kB / 1.193 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.9105, allocations: 3.375 MB / 1.196 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.9106, allocations: 45.7 kB / 1.196 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000756/0.9114, allocations: 0.9254 MB / 1.197 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.9116, allocations: 240.7 kB / 1.197 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.9117, allocations: 16 kB / 1.197 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9118, allocations: 337.9 kB / 1.198 GB, free: 11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.9125, allocations: 333.8 kB / 1.198 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.9133, allocations: 488 kB / 1.199 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.914, allocations: 390 kB / 1.199 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.9141, allocations: 0 / 1.199 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002378/0.9164, allocations: 1.283 MB / 1.2 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9165, allocations: 4 kB / 1.2 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.9165, allocations: 4 kB / 1.2 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/0.9172, allocations: 259.7 kB / 1.2 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.9177, allocations: 151.7 kB / 1.201 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.9225, allocations: 4.439 MB / 1.205 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.9233, allocations: 127.3 kB / 1.205 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.9234, allocations: 28 kB / 1.205 GB, free: 3.211 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009566/0.9243, allocations: 0.6223 MB / 1.206 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.9245, allocations: 209.3 kB / 1.206 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.9249, allocations: 261.2 kB / 1.206 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.925, allocations: 8 kB / 1.206 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.925, allocations: 4 kB / 1.206 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.925, allocations: 7.984 kB / 1.206 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.9289, allocations: 2.436 MB / 1.208 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9289, allocations: 0 / 1.208 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.9292, allocations: 83.84 kB / 1.209 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.9299, allocations: 247.4 kB / 1.209 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.9299, allocations: 23.92 kB / 1.209 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.9346, allocations: 4.441 MB / 1.213 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9346, allocations: 0 / 1.213 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.9374, allocations: 1.656 MB / 1.215 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.938, allocations: 338.2 kB / 1.215 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.9381, allocations: 24 kB / 1.215 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.9386, allocations: 51.95 kB / 1.215 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.9388, allocations: 84.48 kB / 1.215 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.9389, allocations: 23.98 kB / 1.215 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002691/0.9416, allocations: 2.468 MB / 1.218 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9416, allocations: 0 / 1.218 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001057/0.9426, allocations: 307.5 kB / 1.218 GB, free: 5.539 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.9437, allocations: 496.6 kB / 1.218 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.9457, allocations: 1.111 MB / 1.22 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9457, allocations: 0.5625 kB / 1.22 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.9468, allocations: 0.7216 MB / 1.22 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.948, allocations: 256.9 kB / 1.22 GB, free: 3.094 MB / 0.9669 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006317/0.9543, allocations: 4.538 MB / 1.225 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.9558, allocations: 1.591 MB / 1.226 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006957/0.9565, allocations: 162.6 kB / 1.227 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.9567, allocations: 67.42 kB / 1.227 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.527e-06/0.9567, allocations: 0 / 1.227 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.02521/0.982, allocations: 13.57 MB / 1.24 GB, free: 15.27 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches