Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008644/0.0008644, allocations: 86.52 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.403e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2436, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.214/8.458, allocations: 2.466 GB / 3.358 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/8.458, allocations: 94.86 kB / 3.358 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1516/8.61, allocations: 67.18 MB / 3.424 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.917e-06/8.61, allocations: 0 / 3.424 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003427/8.61, allocations: 31.92 kB / 3.424 GB, free: 178.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004872/8.615, allocations: 1.361 MB / 3.425 GB, free: 177 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/8.615, allocations: 12.03 kB / 3.425 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/8.616, allocations: 162 kB / 3.425 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/8.622, allocations: 1.548 MB / 3.427 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/8.623, allocations: 82.69 kB / 3.427 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/8.623, allocations: 48 kB / 3.427 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/8.624, allocations: 0.5263 MB / 3.427 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/8.624, allocations: 0 / 3.427 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/8.625, allocations: 20 kB / 3.427 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/8.625, allocations: 16 kB / 3.427 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/8.625, allocations: 371.8 kB / 3.428 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00535/8.631, allocations: 2.951 MB / 3.431 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/8.632, allocations: 428 kB / 3.431 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/8.632, allocations: 273.5 kB / 3.431 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/8.632, allocations: 8.375 kB / 3.431 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/8.633, allocations: 289.2 kB / 3.432 GB, free: 170 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 5.18e-06/8.633, allocations: 0 / 3.432 GB, free: 170 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001576/8.634, allocations: 0.7027 MB / 3.432 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/8.634, allocations: 63.78 kB / 3.432 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/8.638, allocations: 1.861 MB / 3.434 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/8.638, allocations: 37.7 kB / 3.434 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000531/8.639, allocations: 0.6011 MB / 3.435 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/8.639, allocations: 165.7 kB / 3.435 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/8.639, allocations: 12 kB / 3.435 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/8.639, allocations: 334 kB / 3.435 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/8.639, allocations: 181.5 kB / 3.435 GB, free: 166 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/8.64, allocations: 279.2 kB / 3.436 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/8.64, allocations: 216.4 kB / 3.436 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/8.64, allocations: 0.5469 kB / 3.436 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001646/8.642, allocations: 0.7844 MB / 3.437 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/8.642, allocations: 9.719 kB / 3.437 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/8.642, allocations: 7.953 kB / 3.437 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/8.642, allocations: 179.4 kB / 3.437 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/8.643, allocations: 112 kB / 3.437 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/8.646, allocations: 2.641 MB / 3.44 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/8.647, allocations: 99.45 kB / 3.44 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/8.647, allocations: 20 kB / 3.44 GB, free: 161.5 MB / 0.8698 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,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete 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.0002171/8.647, allocations: 149.5 kB / 3.44 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/8.648, allocations: 150.2 kB / 3.44 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/8.649, allocations: 0.7682 MB / 3.441 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/8.649, allocations: 7.938 kB / 3.441 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/8.649, allocations: 4 kB / 3.441 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/8.649, allocations: 0 / 3.441 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/8.653, allocations: 1.956 MB / 3.443 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/8.653, allocations: 3.938 kB / 3.443 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/8.653, allocations: 51.97 kB / 3.443 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/8.653, allocations: 186.8 kB / 3.443 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/8.653, allocations: 15.98 kB / 3.443 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/8.657, allocations: 4.022 MB / 3.447 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/8.657, allocations: 0 / 3.447 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/8.659, allocations: 1.056 MB / 3.448 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006112/8.66, allocations: 359.1 kB / 3.448 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/8.66, allocations: 16 kB / 3.448 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/8.66, allocations: 51.91 kB / 3.448 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/8.66, allocations: 60.47 kB / 3.448 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/8.66, allocations: 23.92 kB / 3.448 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001819/8.662, allocations: 1.481 MB / 3.45 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.662, allocations: 0 / 3.45 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001228/8.664, allocations: 343.5 kB / 3.45 GB, free: 150.4 MB / 0.8698 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) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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.001981/8.665, allocations: 0.931 MB / 3.451 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001204/8.667, allocations: 0.6652 MB / 3.452 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/8.667, allocations: 0 / 3.452 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/8.667, allocations: 0.5474 MB / 3.452 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/8.668, allocations: 199.2 kB / 3.452 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/8.672, allocations: 2.41 MB / 3.455 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/8.673, allocations: 1.271 MB / 3.456 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004113/8.673, allocations: 169 kB / 3.456 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/8.673, allocations: 79.42 kB / 3.456 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.312e-06/8.673, allocations: 0 / 3.456 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.03268/8.706, allocations: 21.75 MB / 3.478 GB, free: 122.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches