Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [: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.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009608/0.0009608, allocations: 184.8 kB / 316 MB, free: 3.457 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.118/1.118, 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.0009416/0.0009414, allocations: 101.4 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.661e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1402, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.672/3.813, allocations: 2.466 GB / 3.351 GB, free: 275.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/3.813, allocations: 93.53 kB / 3.351 GB, free: 275.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1099/3.923, allocations: 63.32 MB / 3.413 GB, free: 212 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.394e-05/3.923, allocations: 27.94 kB / 3.413 GB, free: 211.9 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001667/3.925, allocations: 1.225 MB / 3.414 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/3.925, allocations: 8.031 kB / 3.414 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/3.925, allocations: 134.4 kB / 3.414 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/3.928, allocations: 1.463 MB / 3.415 GB, free: 209 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/3.928, allocations: 58.69 kB / 3.416 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/3.928, allocations: 28 kB / 3.416 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005243/3.928, allocations: 325.8 kB / 3.416 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/3.929, allocations: 417 kB / 3.416 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/3.929, allocations: 3.938 kB / 3.416 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/3.929, allocations: 0 / 3.416 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/3.929, allocations: 12 kB / 3.416 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/3.931, allocations: 2.477 MB / 3.419 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/3.932, allocations: 262.4 kB / 3.419 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/3.932, allocations: 237.5 kB / 3.419 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/3.932, allocations: 4.328 kB / 3.419 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/3.932, allocations: 235.6 kB / 3.419 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/3.932, allocations: 3.984 kB / 3.419 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.0008884/3.933, allocations: 0.5799 MB / 3.42 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/3.933, allocations: 55.41 kB / 3.42 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/3.935, allocations: 1.454 MB / 3.421 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/3.935, allocations: 29.69 kB / 3.421 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/3.935, allocations: 302 kB / 3.422 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/3.935, allocations: 142 kB / 3.422 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/3.935, allocations: 0 / 3.422 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/3.935, allocations: 326 kB / 3.422 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/3.936, allocations: 153.3 kB / 3.422 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/3.936, allocations: 260.6 kB / 3.423 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/3.936, allocations: 181.2 kB / 3.423 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/3.936, allocations: 0 / 3.423 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000899/3.937, allocations: 0.6706 MB / 3.423 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/3.937, allocations: 4 kB / 3.423 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/3.937, allocations: 4 kB / 3.423 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/3.937, allocations: 163.1 kB / 3.424 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/3.938, allocations: 107.9 kB / 3.424 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/3.94, allocations: 2.441 MB / 3.426 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/3.94, allocations: 80.14 kB / 3.426 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/3.94, allocations: 20 kB / 3.426 GB, free: 197.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/3.941, allocations: 125.1 kB / 3.426 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/3.941, allocations: 122.4 kB / 3.426 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009149/3.942, allocations: 0.6172 MB / 3.427 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/3.942, allocations: 4 kB / 3.427 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/3.942, allocations: 4 kB / 3.427 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/3.942, allocations: 0 / 3.427 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/3.944, allocations: 1.602 MB / 3.429 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/3.944, allocations: 0 / 3.429 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/3.944, allocations: 47.97 kB / 3.429 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/3.944, allocations: 173.6 kB / 3.429 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/3.944, allocations: 8 kB / 3.429 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/3.947, allocations: 3.743 MB / 3.432 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/3.947, allocations: 3.938 kB / 3.432 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/3.948, allocations: 0.8942 MB / 3.433 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/3.948, allocations: 303.7 kB / 3.434 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/3.948, allocations: 4.234 kB / 3.434 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/3.949, allocations: 35.97 kB / 3.434 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/3.949, allocations: 44.36 kB / 3.434 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/3.949, allocations: 23.97 kB / 3.434 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009435/3.95, allocations: 1.147 MB / 3.435 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007563/3.951, allocations: 275.5 kB / 3.435 GB, free: 188.1 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/3.952, allocations: 0.9338 MB / 3.436 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007481/3.952, allocations: 0.5483 MB / 3.437 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/3.952, allocations: 0 / 3.437 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/3.953, allocations: 461.5 kB / 3.437 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/3.954, allocations: 170.7 kB / 3.437 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/3.956, allocations: 2.017 MB / 3.439 GB, free: 184 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/3.957, allocations: 1.219 MB / 3.44 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/3.957, allocations: 0 / 3.44 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01811/3.975, allocations: 13.67 MB / 3.454 GB, free: 169.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches