Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001537/0.001537, allocations: 177.2 kB / 498.1 MB, free: 5.727 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.678/1.678, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001301/0.001301, allocations: 100.3 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 9.188 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3911, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/6.325, allocations: 2.189 GB / 3.412 GB, free: 202.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/6.325, allocations: 99.16 kB / 3.412 GB, free: 202.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1287/6.454, allocations: 68.39 MB / 3.478 GB, free: 146.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.356e-06/6.454, allocations: 7.984 kB / 3.478 GB, free: 146.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.478e-05/6.454, allocations: 27.94 kB / 3.478 GB, free: 146 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002288/6.456, allocations: 1.621 MB / 3.48 GB, free: 144.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/6.456, allocations: 11.97 kB / 3.48 GB, free: 144.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/6.457, allocations: 166 kB / 3.48 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/6.46, allocations: 1.592 MB / 3.482 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/6.46, allocations: 81.81 kB / 3.482 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/6.46, allocations: 58.48 kB / 3.482 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/6.461, allocations: 0.5594 MB / 3.482 GB, free: 142.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/6.461, allocations: 4 kB / 3.482 GB, free: 142.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/6.461, allocations: 17.69 kB / 3.482 GB, free: 142.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/6.461, allocations: 16 kB / 3.482 GB, free: 142.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/6.461, allocations: 445.9 kB / 3.483 GB, free: 142 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/6.465, allocations: 2.953 MB / 3.486 GB, free: 139.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/6.466, allocations: 0.4976 MB / 3.486 GB, free: 139 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/6.466, allocations: 8.359 kB / 3.486 GB, free: 139 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/6.466, allocations: 330.6 kB / 3.487 GB, free: 138.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=52): time 2.304e-06/6.466, allocations: 0 / 3.487 GB, free: 138.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=52): time 0.002629/6.469, allocations: 1.343 MB / 3.488 GB, free: 137.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/6.469, allocations: 59.84 kB / 3.488 GB, free: 137.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/6.471, allocations: 1.877 MB / 3.49 GB, free: 136.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/6.471, allocations: 40.83 kB / 3.49 GB, free: 136 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/6.472, allocations: 0.6071 MB / 3.49 GB, free: 135.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/6.472, allocations: 170.6 kB / 3.491 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/6.472, allocations: 10.94 kB / 3.491 GB, free: 135.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/6.472, allocations: 329.4 kB / 3.491 GB, free: 135.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/6.472, allocations: 245.9 kB / 3.491 GB, free: 135.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/6.473, allocations: 350.7 kB / 3.491 GB, free: 134.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/6.473, allocations: 281.6 kB / 3.492 GB, free: 134.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/6.473, allocations: 4 kB / 3.492 GB, free: 134.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001681/6.475, allocations: 0.9151 MB / 3.493 GB, free: 133.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/6.475, allocations: 15.89 kB / 3.493 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/6.475, allocations: 0 / 3.493 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/6.476, allocations: 168.5 kB / 3.493 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/6.476, allocations: 114.7 kB / 3.493 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/6.479, allocations: 2.754 MB / 3.496 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/6.48, allocations: 103.2 kB / 3.496 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/6.48, allocations: 21.19 kB / 3.496 GB, free: 131.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008249/6.481, allocations: 433.7 kB / 3.496 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/6.481, allocations: 150.2 kB / 3.496 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/6.482, allocations: 0.8525 MB / 3.497 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/6.482, allocations: 4 kB / 3.497 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/6.482, allocations: 4 kB / 3.497 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/6.482, allocations: 0 / 3.497 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/6.486, allocations: 2.027 MB / 3.499 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/6.486, allocations: 3.938 kB / 3.499 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/6.486, allocations: 63.95 kB / 3.499 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/6.486, allocations: 193.5 kB / 3.499 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/6.486, allocations: 12 kB / 3.499 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/6.49, allocations: 4.093 MB / 3.503 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/6.49, allocations: 0 / 3.503 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/6.492, allocations: 1.185 MB / 3.505 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/6.492, allocations: 351.2 kB / 3.505 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/6.493, allocations: 16 kB / 3.505 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/6.493, allocations: 63.91 kB / 3.505 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/6.493, allocations: 60.45 kB / 3.505 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/6.493, allocations: 19.98 kB / 3.505 GB, free: 122 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002268/6.496, allocations: 1.498 MB / 3.506 GB, free: 120.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/6.496, allocations: 0 / 3.506 GB, free: 120.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001521/6.497, allocations: 343.6 kB / 3.507 GB, free: 120.1 MB / 1.167 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/6.499, allocations: 0.9625 MB / 3.508 GB, free: 119.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001618/6.501, allocations: 0.7835 MB / 3.509 GB, free: 118.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/6.501, allocations: 0 / 3.509 GB, free: 118.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/6.502, allocations: 0.5828 MB / 3.509 GB, free: 117.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/6.503, allocations: 202.5 kB / 3.509 GB, free: 117.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/6.508, allocations: 3.3 MB / 3.513 GB, free: 114.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/6.509, allocations: 1.282 MB / 3.514 GB, free: 113.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005702/6.509, allocations: 164.9 kB / 3.514 GB, free: 113 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/6.51, allocations: 79.42 kB / 3.514 GB, free: 112.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.252e-06/6.51, allocations: 0 / 3.514 GB, free: 112.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03254/6.542, allocations: 20.1 MB / 3.534 GB, free: 92.88 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches