Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,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.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,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.TestCase9") [: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.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009739/0.0009741, allocations: 177.3 kB / 316 MB, free: 3.555 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.066/1.066, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008711/0.0008712, allocations: 92.52 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.54e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.097/4.25, allocations: 2.469 GB / 3.354 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/4.25, allocations: 93.06 kB / 3.354 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1499/4.4, allocations: 81.93 MB / 3.434 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001648/4.4, allocations: 56 kB / 3.434 GB, free: 150 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003114/4.403, allocations: 2.513 MB / 3.436 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/4.403, allocations: 8.031 kB / 3.436 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/4.404, allocations: 343.6 kB / 3.437 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/4.408, allocations: 2.569 MB / 3.439 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/4.409, allocations: 83.69 kB / 3.439 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/4.409, allocations: 55.91 kB / 3.439 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/4.41, allocations: 0.7419 MB / 3.44 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/4.411, allocations: 0.8289 MB / 3.441 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/4.411, allocations: 8 kB / 3.441 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/4.411, allocations: 0 / 3.441 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/4.411, allocations: 20 kB / 3.441 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005442/4.417, allocations: 4.584 MB / 3.445 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/4.417, allocations: 0.5856 MB / 3.446 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/4.418, allocations: 0.5035 MB / 3.446 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/4.418, allocations: 8.781 kB / 3.446 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/4.419, allocations: 0.5222 MB / 3.447 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 3.055e-06/4.419, allocations: 0 / 3.447 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.002139/4.421, allocations: 1.372 MB / 3.448 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/4.421, allocations: 68.39 kB / 3.448 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/4.426, allocations: 4.305 MB / 3.453 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/4.426, allocations: 33.7 kB / 3.453 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/4.427, allocations: 0.583 MB / 3.453 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/4.427, allocations: 315.4 kB / 3.454 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/4.427, allocations: 4 kB / 3.454 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/4.427, allocations: 349.9 kB / 3.454 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/4.428, allocations: 362.5 kB / 3.454 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/4.428, allocations: 0.5258 MB / 3.455 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005655/4.429, allocations: 432.7 kB / 3.455 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/4.429, allocations: 0 / 3.455 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002151/4.431, allocations: 1.511 MB / 3.457 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/4.431, allocations: 4 kB / 3.457 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.431, allocations: 7.938 kB / 3.457 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008247/4.432, allocations: 328.2 kB / 3.457 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/4.432, allocations: 195.7 kB / 3.457 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/4.437, allocations: 4.672 MB / 3.462 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/4.438, allocations: 127.2 kB / 3.462 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/4.438, allocations: 36 kB / 3.462 GB, free: 120.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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.000194/4.438, allocations: 153.9 kB / 3.462 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/4.438, allocations: 300.1 kB / 3.462 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/4.441, allocations: 1.555 MB / 3.464 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/4.441, allocations: 12.09 kB / 3.464 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/4.441, allocations: 11.98 kB / 3.464 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/4.441, allocations: 7.969 kB / 3.464 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/4.446, allocations: 3.836 MB / 3.468 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/4.447, allocations: 0 / 3.468 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/4.447, allocations: 123.8 kB / 3.468 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007412/4.448, allocations: 333.4 kB / 3.468 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/4.448, allocations: 11.98 kB / 3.468 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/4.452, allocations: 4.67 MB / 3.473 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/4.452, allocations: 0 / 3.473 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002912/4.455, allocations: 2.132 MB / 3.475 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/4.456, allocations: 0.7076 MB / 3.475 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/4.456, allocations: 11.98 kB / 3.475 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/4.457, allocations: 59.95 kB / 3.475 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/4.457, allocations: 80.86 kB / 3.475 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/4.457, allocations: 43.97 kB / 3.476 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003288/4.46, allocations: 3.393 MB / 3.479 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001384/4.462, allocations: 0.5656 MB / 3.479 GB, free: 102.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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.00116/4.463, allocations: 0.9637 MB / 3.48 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001603/4.464, allocations: 1.209 MB / 3.482 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/4.465, allocations: 0 / 3.482 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/4.465, allocations: 0.7803 MB / 3.482 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/4.467, allocations: 306.3 kB / 3.483 GB, free: 99.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/4.474, allocations: 5.33 MB / 3.488 GB, free: 93.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/4.475, allocations: 2.146 MB / 3.49 GB, free: 91.56 MB / 0.8698 GB Notification: Performance of SimCode: time 9.72e-07/4.475, allocations: 0 / 3.49 GB, free: 91.56 MB / 0.8698 GB Notification: Performance of Templates: time 0.039/4.514, allocations: 26.2 MB / 3.515 GB, free: 65.45 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches