Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [: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 9.1.1-maint.9.1.x/package.mo): time 2.009/2.009, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 185.2 kB / 487 MB, free: 5.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 0.7819 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 102.3 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.663e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.042, allocations: 2.188 GB / 3.393 GB, free: 86.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.042, allocations: 92.69 kB / 3.393 GB, free: 86.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1281/5.17, allocations: 67.44 MB / 3.459 GB, free: 21.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.372e-05/5.17, allocations: 24 kB / 3.459 GB, free: 21.77 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001956/5.172, allocations: 1.381 MB / 3.46 GB, free: 20.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/5.172, allocations: 9.031 kB / 3.46 GB, free: 20.33 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/5.173, allocations: 162 kB / 3.461 GB, free: 20.17 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/5.176, allocations: 1.568 MB / 3.462 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/5.176, allocations: 66.69 kB / 3.462 GB, free: 18.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/5.176, allocations: 32 kB / 3.462 GB, free: 18.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006897/5.177, allocations: 349.8 kB / 3.463 GB, free: 18.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/5.177, allocations: 465 kB / 3.463 GB, free: 17.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/5.178, allocations: 0 / 3.463 GB, free: 17.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/5.178, allocations: 0 / 3.463 GB, free: 17.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/5.178, allocations: 19.91 kB / 3.463 GB, free: 17.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/5.181, allocations: 2.709 MB / 3.466 GB, free: 14.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/5.181, allocations: 287.2 kB / 3.466 GB, free: 14.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/5.182, allocations: 262 kB / 3.466 GB, free: 14.14 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/5.182, allocations: 12.36 kB / 3.466 GB, free: 14.13 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/5.182, allocations: 260.3 kB / 3.466 GB, free: 13.87 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/5.182, allocations: 0 / 3.466 GB, free: 13.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.00113/5.183, allocations: 0.6278 MB / 3.467 GB, free: 13.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/5.183, allocations: 63.78 kB / 3.467 GB, free: 13.15 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/5.185, allocations: 1.772 MB / 3.469 GB, free: 11.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/5.186, allocations: 25.7 kB / 3.469 GB, free: 11.33 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/5.186, allocations: 327.3 kB / 3.469 GB, free: 11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/5.186, allocations: 162.2 kB / 3.469 GB, free: 10.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/5.186, allocations: 0 / 3.469 GB, free: 10.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/5.186, allocations: 334 kB / 3.47 GB, free: 10.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/5.186, allocations: 165.3 kB / 3.47 GB, free: 10.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/5.186, allocations: 276.7 kB / 3.47 GB, free: 10.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/5.187, allocations: 204.5 kB / 3.47 GB, free: 9.84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.187, allocations: 0 / 3.47 GB, free: 9.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001021/5.188, allocations: 0.7258 MB / 3.471 GB, free: 9.105 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/5.188, allocations: 8.328 kB / 3.471 GB, free: 9.098 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/5.188, allocations: 8 kB / 3.471 GB, free: 9.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/5.188, allocations: 156.7 kB / 3.471 GB, free: 8.934 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/5.189, allocations: 123.8 kB / 3.471 GB, free: 8.812 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/5.191, allocations: 2.483 MB / 3.474 GB, free: 6.223 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/5.192, allocations: 87.52 kB / 3.474 GB, free: 6.137 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/5.192, allocations: 23.98 kB / 3.474 GB, free: 6.113 MB / 1.151 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_last,mean.y_last,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.0001291/5.192, allocations: 131.4 kB / 3.474 GB, free: 5.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/5.192, allocations: 138.2 kB / 3.474 GB, free: 5.844 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/5.193, allocations: 0.6953 MB / 3.475 GB, free: 5.125 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/5.193, allocations: 4 kB / 3.475 GB, free: 5.121 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/5.193, allocations: 7.984 kB / 3.475 GB, free: 5.113 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/5.193, allocations: 3.984 kB / 3.475 GB, free: 5.109 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/5.196, allocations: 1.802 MB / 3.476 GB, free: 3.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/5.196, allocations: 0 / 3.476 GB, free: 3.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/5.196, allocations: 59.95 kB / 3.477 GB, free: 3.191 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/5.196, allocations: 177.5 kB / 3.477 GB, free: 3.012 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/5.196, allocations: 7.984 kB / 3.477 GB, free: 3.004 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4711/5.668, allocations: 3.777 MB / 3.48 GB, free: 0.5089 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/5.668, allocations: 1.562 kB / 3.48 GB, free: 0.5089 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001617/5.669, allocations: 0.9923 MB / 3.481 GB, free: 0.5088 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/5.67, allocations: 345.4 kB / 3.482 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/5.67, allocations: 11.5 kB / 3.482 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/5.67, allocations: 42.62 kB / 3.482 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/5.67, allocations: 54.39 kB / 3.482 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/5.671, allocations: 17.91 kB / 3.482 GB, free: 0.5086 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.001574/5.672, allocations: 1.389 MB / 3.483 GB, free: 0.5085 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001186/5.673, allocations: 313.6 kB / 3.483 GB, free: 0.5085 GB / 1.151 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_last) * 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.001359/5.675, allocations: 0.9305 MB / 3.484 GB, free: 0.5084 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001049/5.676, allocations: 0.5913 MB / 3.485 GB, free: 0.5083 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/5.676, allocations: 0 / 3.485 GB, free: 0.5083 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/5.676, allocations: 486.3 kB / 3.485 GB, free: 0.5081 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009647/5.677, allocations: 190.5 kB / 3.486 GB, free: 0.5081 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/5.681, allocations: 2.393 MB / 3.488 GB, free: 0.5077 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/5.682, allocations: 1.328 MB / 3.489 GB, free: 0.507 GB / 1.151 GB Notification: Performance of SimCode: time 1.283e-06/5.682, allocations: 0 / 3.489 GB, free: 0.507 GB / 1.151 GB Notification: Performance of Templates: time 0.02568/5.708, allocations: 14.95 MB / 3.504 GB, free: 0.5064 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches