Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 184.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008555, allocations: 94.77 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.697e-05, allocations: 3.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.357, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.156/7.513, allocations: 2.189 GB / 3.401 GB, free: 124.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/7.513, allocations: 91.94 kB / 3.401 GB, free: 124.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1491/7.662, allocations: 73.67 MB / 3.473 GB, free: 50.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/7.662, allocations: 0 / 3.473 GB, free: 50.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001372/7.663, allocations: 43.92 kB / 3.473 GB, free: 50.02 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002819/7.665, allocations: 1.809 MB / 3.475 GB, free: 48.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/7.666, allocations: 12.03 kB / 3.475 GB, free: 48.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/7.666, allocations: 233.1 kB / 3.475 GB, free: 47.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/7.67, allocations: 1.851 MB / 3.477 GB, free: 46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/7.67, allocations: 98.98 kB / 3.477 GB, free: 45.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/7.67, allocations: 67.89 kB / 3.477 GB, free: 45.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/7.671, allocations: 0.6706 MB / 3.478 GB, free: 45.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/7.671, allocations: 0 / 3.478 GB, free: 45.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/7.671, allocations: 23.98 kB / 3.478 GB, free: 45.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/7.671, allocations: 16 kB / 3.478 GB, free: 45.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/7.672, allocations: 0.5089 MB / 3.479 GB, free: 44.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/7.677, allocations: 3.701 MB / 3.482 GB, free: 40.63 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/7.678, allocations: 0.6243 MB / 3.483 GB, free: 40 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/7.678, allocations: 356.2 kB / 3.483 GB, free: 39.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/7.678, allocations: 4.562 kB / 3.483 GB, free: 39.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/7.679, allocations: 390.8 kB / 3.484 GB, free: 39.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 4.298e-06/7.679, allocations: 0 / 3.484 GB, free: 39.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001799/7.681, allocations: 1.002 MB / 3.485 GB, free: 38.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/7.681, allocations: 55.97 kB / 3.485 GB, free: 38.16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/7.685, allocations: 2.932 MB / 3.487 GB, free: 35.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/7.685, allocations: 45.7 kB / 3.488 GB, free: 35.15 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/7.685, allocations: 0.8938 MB / 3.488 GB, free: 34.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/7.686, allocations: 220.9 kB / 3.489 GB, free: 34.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/7.686, allocations: 16 kB / 3.489 GB, free: 34.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/7.686, allocations: 345.9 kB / 3.489 GB, free: 33.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/7.686, allocations: 241.5 kB / 3.489 GB, free: 33.44 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/7.687, allocations: 381 kB / 3.49 GB, free: 33.02 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/7.687, allocations: 288.5 kB / 3.49 GB, free: 32.74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/7.687, allocations: 0 / 3.49 GB, free: 32.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001716/7.689, allocations: 1.113 MB / 3.491 GB, free: 31.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/7.689, allocations: 8 kB / 3.491 GB, free: 31.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/7.689, allocations: 4 kB / 3.491 GB, free: 31.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/7.69, allocations: 284.4 kB / 3.491 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/7.69, allocations: 147.7 kB / 3.491 GB, free: 31.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/7.694, allocations: 4.616 MB / 3.496 GB, free: 26.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009858/7.695, allocations: 119.3 kB / 3.496 GB, free: 26.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/7.695, allocations: 28 kB / 3.496 GB, free: 26.15 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/7.696, allocations: 164.7 kB / 3.496 GB, free: 25.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/7.696, allocations: 221.3 kB / 3.496 GB, free: 25.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/7.698, allocations: 1.112 MB / 3.497 GB, free: 24.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.698, allocations: 7.953 kB / 3.497 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/7.698, allocations: 4 kB / 3.497 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/7.698, allocations: 7.984 kB / 3.497 GB, free: 24.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/7.702, allocations: 2.762 MB / 3.5 GB, free: 21.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/7.702, allocations: 4 kB / 3.5 GB, free: 21.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/7.703, allocations: 67.91 kB / 3.5 GB, free: 21.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/7.703, allocations: 280.4 kB / 3.5 GB, free: 21.43 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/7.703, allocations: 15.98 kB / 3.5 GB, free: 21.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/7.707, allocations: 4.626 MB / 3.505 GB, free: 16.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/7.708, allocations: 4 kB / 3.505 GB, free: 16.53 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/7.71, allocations: 1.504 MB / 3.506 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/7.711, allocations: 490.2 kB / 3.507 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/7.711, allocations: 27.98 kB / 3.507 GB, free: 14.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/7.712, allocations: 63.95 kB / 3.507 GB, free: 14.41 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/7.712, allocations: 76.66 kB / 3.507 GB, free: 14.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/7.712, allocations: 23.98 kB / 3.507 GB, free: 14.31 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003178/7.715, allocations: 2.335 MB / 3.509 GB, free: 11.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/7.715, allocations: 0 / 3.509 GB, free: 11.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001564/7.717, allocations: 459.5 kB / 3.51 GB, free: 11.51 MB / 1.151 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/7.719, allocations: 0.9229 MB / 3.511 GB, free: 10.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001765/7.721, allocations: 0.9842 MB / 3.512 GB, free: 9.707 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/7.721, allocations: 0 / 3.512 GB, free: 9.707 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/7.722, allocations: 0.684 MB / 3.512 GB, free: 8.996 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/7.723, allocations: 242.1 kB / 3.513 GB, free: 8.758 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/7.729, allocations: 3.605 MB / 3.516 GB, free: 5.117 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/7.73, allocations: 1.571 MB / 3.518 GB, free: 3.516 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007684/7.731, allocations: 258 kB / 3.518 GB, free: 3.262 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/7.731, allocations: 107.3 kB / 3.518 GB, free: 3.156 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/7.731, allocations: 0 / 3.518 GB, free: 3.156 MB / 1.151 GB Notification: Performance of Templates: time 0.8749/8.606, allocations: 26.37 MB / 3.544 GB, free: 373.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches