Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.212/1.212, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001005/0.001006, allocations: 181.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.102/1.102, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.0008122/0.0008122, allocations: 82.22 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1591, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.002/4.161, allocations: 2.469 GB / 3.354 GB, free: 282.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/4.161, allocations: 95.94 kB / 3.354 GB, free: 282.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1446/4.306, allocations: 78.9 MB / 3.431 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001499/4.306, allocations: 55.94 kB / 3.431 GB, free: 203 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002846/4.309, allocations: 2.298 MB / 3.433 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/4.309, allocations: 8.031 kB / 3.433 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/4.309, allocations: 304.2 kB / 3.433 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/4.314, allocations: 2.419 MB / 3.436 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/4.314, allocations: 91.69 kB / 3.436 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/4.314, allocations: 51.91 kB / 3.436 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001056/4.315, allocations: 0.7029 MB / 3.436 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/4.316, allocations: 0.7938 MB / 3.437 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/4.316, allocations: 4 kB / 3.437 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/4.316, allocations: 4 kB / 3.437 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/4.316, allocations: 20 kB / 3.437 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/4.321, allocations: 4.375 MB / 3.442 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/4.322, allocations: 0.5479 MB / 3.442 GB, free: 191 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/4.322, allocations: 479 kB / 3.443 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/4.322, allocations: 12.77 kB / 3.443 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/4.323, allocations: 477.5 kB / 3.443 GB, free: 190 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.124e-06/4.323, allocations: 0 / 3.443 GB, free: 190 MB / 0.8698 GB Notification: Performance of matching and sorting (n=94): time 0.001865/4.325, allocations: 1.27 MB / 3.444 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/4.325, allocations: 72.17 kB / 3.444 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/4.329, allocations: 3.746 MB / 3.448 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/4.329, allocations: 37.64 kB / 3.448 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/4.33, allocations: 0.5263 MB / 3.449 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/4.33, allocations: 295.8 kB / 3.449 GB, free: 184 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/4.33, allocations: 0 / 3.449 GB, free: 184 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/4.33, allocations: 342.2 kB / 3.449 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/4.33, allocations: 333.9 kB / 3.449 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/4.331, allocations: 0.4951 MB / 3.45 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/4.331, allocations: 399.2 kB / 3.45 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/4.331, allocations: 4 kB / 3.45 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001902/4.333, allocations: 1.397 MB / 3.452 GB, free: 181 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/4.333, allocations: 10.5 kB / 3.452 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/4.333, allocations: 0 / 3.452 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/4.334, allocations: 332.2 kB / 3.452 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/4.335, allocations: 171.7 kB / 3.452 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/4.339, allocations: 4.68 MB / 3.457 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/4.34, allocations: 119.3 kB / 3.457 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/4.34, allocations: 32 kB / 3.457 GB, free: 175.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/4.34, allocations: 147.8 kB / 3.457 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/4.34, allocations: 268.5 kB / 3.457 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/4.342, allocations: 1.442 MB / 3.459 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/4.342, allocations: 12 kB / 3.459 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/4.342, allocations: 8 kB / 3.459 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/4.342, allocations: 3.984 kB / 3.459 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/4.347, allocations: 3.489 MB / 3.462 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/4.347, allocations: 3.906 kB / 3.462 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/4.347, allocations: 115.8 kB / 3.462 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/4.348, allocations: 325.5 kB / 3.463 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/4.348, allocations: 15.98 kB / 3.463 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/4.352, allocations: 4.658 MB / 3.467 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/4.352, allocations: 3.938 kB / 3.467 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002578/4.354, allocations: 1.978 MB / 3.469 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008711/4.355, allocations: 0.6262 MB / 3.47 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/4.356, allocations: 11.98 kB / 3.47 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/4.356, allocations: 67.8 kB / 3.47 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/4.356, allocations: 80.8 kB / 3.47 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/4.357, allocations: 31.98 kB / 3.47 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002675/4.359, allocations: 2.949 MB / 3.473 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001165/4.36, allocations: 0.5187 MB / 3.473 GB, free: 158.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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/4.362, allocations: 0.9485 MB / 3.474 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001369/4.363, allocations: 1.139 MB / 3.475 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/4.363, allocations: 4 kB / 3.475 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007778/4.364, allocations: 0.725 MB / 3.476 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/4.365, allocations: 289 kB / 3.476 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/4.371, allocations: 4.755 MB / 3.481 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/4.372, allocations: 1.982 MB / 3.483 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3.5e-07/4.372, allocations: 0 / 3.483 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03387/4.406, allocations: 24.18 MB / 3.506 GB, free: 124.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches