Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") [: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.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001058/0.001058, allocations: 185.2 kB / 316 MB, free: 3.512 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.63 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.0008241/0.0008242, allocations: 92.94 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.501e-06/5.531e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.776/3.931, allocations: 2.468 GB / 3.353 GB, free: 283 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/3.931, allocations: 92.58 kB / 3.353 GB, free: 283 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1337/4.065, allocations: 73.53 MB / 3.425 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001092/4.065, allocations: 39.94 kB / 3.425 GB, free: 208.8 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002212/4.067, allocations: 1.876 MB / 3.427 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/4.067, allocations: 8.031 kB / 3.427 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/4.068, allocations: 237 kB / 3.427 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/4.071, allocations: 1.871 MB / 3.429 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/4.071, allocations: 71 kB / 3.429 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/4.071, allocations: 44 kB / 3.429 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007806/4.072, allocations: 0.5219 MB / 3.429 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/4.073, allocations: 0.6337 MB / 3.43 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/4.073, allocations: 0 / 3.43 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/4.073, allocations: 4 kB / 3.43 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/4.073, allocations: 16 kB / 3.43 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/4.077, allocations: 3.639 MB / 3.434 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/4.077, allocations: 421.5 kB / 3.434 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/4.078, allocations: 369 kB / 3.434 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/4.078, allocations: 8.656 kB / 3.434 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/4.078, allocations: 359 kB / 3.435 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/4.078, allocations: 0 / 3.435 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.001453/4.08, allocations: 0.9444 MB / 3.436 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/4.08, allocations: 60.06 kB / 3.436 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/4.083, allocations: 2.832 MB / 3.438 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/4.083, allocations: 29.7 kB / 3.439 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/4.084, allocations: 451 kB / 3.439 GB, free: 194 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/4.084, allocations: 224.8 kB / 3.439 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/4.084, allocations: 0 / 3.439 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/4.084, allocations: 334 kB / 3.439 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/4.084, allocations: 249.9 kB / 3.44 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/4.085, allocations: 398.9 kB / 3.44 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/4.085, allocations: 296.8 kB / 3.44 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/4.085, allocations: 0 / 3.44 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001503/4.086, allocations: 1.078 MB / 3.441 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/4.086, allocations: 7.938 kB / 3.441 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/4.087, allocations: 7.984 kB / 3.441 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006633/4.087, allocations: 265.1 kB / 3.442 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/4.088, allocations: 151.8 kB / 3.442 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/4.091, allocations: 4.334 MB / 3.446 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/4.092, allocations: 103.4 kB / 3.446 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/4.092, allocations: 28 kB / 3.446 GB, free: 186.2 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.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001437/4.092, allocations: 127.9 kB / 3.446 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/4.093, allocations: 213.3 kB / 3.447 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/4.094, allocations: 1.053 MB / 3.448 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/4.094, allocations: 8 kB / 3.448 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/4.094, allocations: 7.984 kB / 3.448 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/4.094, allocations: 7.984 kB / 3.448 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/4.098, allocations: 2.638 MB / 3.45 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/4.098, allocations: 4 kB / 3.45 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/4.098, allocations: 79.89 kB / 3.45 GB, free: 182 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/4.099, allocations: 264 kB / 3.45 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/4.099, allocations: 7.984 kB / 3.45 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/4.102, allocations: 4.335 MB / 3.455 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/4.102, allocations: 0 / 3.455 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001881/4.104, allocations: 1.448 MB / 3.456 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006334/4.105, allocations: 498.2 kB / 3.457 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/4.105, allocations: 7.984 kB / 3.457 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/4.106, allocations: 63.8 kB / 3.457 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/4.106, allocations: 64.48 kB / 3.457 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/4.106, allocations: 20 kB / 3.457 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002037/4.108, allocations: 2.228 MB / 3.459 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001115/4.109, allocations: 423.4 kB / 3.459 GB, free: 172.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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * 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.00109/4.11, allocations: 0.9432 MB / 3.46 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001234/4.111, allocations: 0.9178 MB / 3.461 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/4.111, allocations: 0.8125 kB / 3.461 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/4.112, allocations: 0.594 MB / 3.462 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/4.113, allocations: 238 kB / 3.462 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/4.118, allocations: 3.631 MB / 3.466 GB, free: 166 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/4.119, allocations: 1.687 MB / 3.467 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/4.119, allocations: 0 / 3.467 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02769/4.147, allocations: 19.81 MB / 3.487 GB, free: 144.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches