Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [: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.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001049/0.001048, allocations: 183.6 kB / 316 MB, free: 3.539 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.16/1.16, allocations: 205.2 MB / 0.5667 GB, free: 15.74 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.0009295/0.0009296, allocations: 101.4 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.302e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.794/3.951, allocations: 2.467 GB / 3.352 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/3.951, allocations: 91.94 kB / 3.352 GB, free: 285.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1259/4.077, allocations: 71.68 MB / 3.422 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001093/4.077, allocations: 43.92 kB / 3.422 GB, free: 213.5 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002168/4.08, allocations: 1.812 MB / 3.423 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/4.08, allocations: 15.97 kB / 3.423 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/4.08, allocations: 225.1 kB / 3.424 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/4.083, allocations: 1.855 MB / 3.425 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/4.083, allocations: 74.98 kB / 3.426 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/4.083, allocations: 40 kB / 3.426 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007212/4.084, allocations: 490.5 kB / 3.426 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/4.085, allocations: 0.586 MB / 3.427 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/4.085, allocations: 7.906 kB / 3.427 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/4.085, allocations: 3.984 kB / 3.427 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/4.085, allocations: 16 kB / 3.427 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/4.088, allocations: 3.432 MB / 3.43 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/4.089, allocations: 384 kB / 3.43 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/4.09, allocations: 358.7 kB / 3.431 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/4.09, allocations: 4.5 kB / 3.431 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/4.09, allocations: 342.9 kB / 3.431 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.505e-06/4.09, allocations: 0 / 3.431 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69): time 0.001384/4.091, allocations: 0.9209 MB / 3.432 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/4.091, allocations: 60.06 kB / 3.432 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/4.095, allocations: 2.79 MB / 3.435 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/4.095, allocations: 33.7 kB / 3.435 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/4.095, allocations: 430.8 kB / 3.435 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/4.095, allocations: 209 kB / 3.435 GB, free: 199 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/4.095, allocations: 0 / 3.435 GB, free: 199 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/4.095, allocations: 338 kB / 3.436 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/4.095, allocations: 233.5 kB / 3.436 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/4.096, allocations: 355.5 kB / 3.436 GB, free: 198 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/4.096, allocations: 277.3 kB / 3.437 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/4.096, allocations: 4 kB / 3.437 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001411/4.098, allocations: 1.039 MB / 3.438 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/4.098, allocations: 4 kB / 3.438 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/4.098, allocations: 4 kB / 3.438 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/4.098, allocations: 268.5 kB / 3.438 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/4.099, allocations: 139.8 kB / 3.438 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/4.102, allocations: 4.342 MB / 3.442 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/4.103, allocations: 107.3 kB / 3.442 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/4.103, allocations: 24 kB / 3.442 GB, free: 191.6 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: 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,mean.y,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.0001222/4.103, allocations: 135.9 kB / 3.442 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/4.103, allocations: 201.3 kB / 3.443 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/4.105, allocations: 1.018 MB / 3.444 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/4.105, allocations: 12.14 kB / 3.444 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/4.105, allocations: 7.984 kB / 3.444 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/4.105, allocations: 3.984 kB / 3.444 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/4.108, allocations: 2.587 MB / 3.446 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/4.108, allocations: 0 / 3.446 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/4.109, allocations: 71.91 kB / 3.446 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006014/4.109, allocations: 267.8 kB / 3.447 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/4.109, allocations: 11.98 kB / 3.447 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/4.113, allocations: 4.342 MB / 3.451 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/4.113, allocations: 0 / 3.451 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001769/4.114, allocations: 1.397 MB / 3.452 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/4.115, allocations: 486.2 kB / 3.453 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/4.115, allocations: 12 kB / 3.453 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/4.116, allocations: 55.8 kB / 3.453 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/4.116, allocations: 64.55 kB / 3.453 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/4.116, allocations: 23.98 kB / 3.453 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002017/4.118, allocations: 2.204 MB / 3.455 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001208/4.119, allocations: 404.2 kB / 3.455 GB, free: 177.9 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: 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) * 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.001289/4.121, allocations: 0.9598 MB / 3.456 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001302/4.122, allocations: 0.8756 MB / 3.457 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/4.122, allocations: 0 / 3.457 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006839/4.123, allocations: 0.5823 MB / 3.458 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/4.124, allocations: 225.7 kB / 3.458 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/4.128, allocations: 3.564 MB / 3.461 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/4.129, allocations: 1.652 MB / 3.463 GB, free: 170 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/4.129, allocations: 0 / 3.463 GB, free: 170 MB / 0.8698 GB Notification: Performance of Templates: time 0.02618/4.155, allocations: 19.25 MB / 3.482 GB, free: 150.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches