Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [: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.217/1.217, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001121/0.001121, allocations: 196.4 kB / 316 MB, free: 3.5 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.053/1.053, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008635/0.0008635, allocations: 89.91 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.571e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.675/3.809, allocations: 2.466 GB / 3.351 GB, free: 285.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/3.809, allocations: 91.94 kB / 3.351 GB, free: 285.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1102/3.92, allocations: 63.32 MB / 3.413 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.695e-05/3.92, allocations: 27.94 kB / 3.413 GB, free: 221.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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00151/3.921, allocations: 1.229 MB / 3.414 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/3.921, allocations: 8.031 kB / 3.414 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/3.921, allocations: 130.4 kB / 3.414 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/3.924, allocations: 1.455 MB / 3.415 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/3.924, allocations: 66.69 kB / 3.416 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/3.924, allocations: 35.92 kB / 3.416 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004793/3.925, allocations: 321.8 kB / 3.416 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/3.925, allocations: 417 kB / 3.416 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/3.925, allocations: 3.984 kB / 3.416 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/3.925, allocations: 0 / 3.416 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/3.925, allocations: 16 kB / 3.416 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/3.928, allocations: 2.409 MB / 3.419 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/3.928, allocations: 235.7 kB / 3.419 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/3.928, allocations: 277.4 kB / 3.419 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/3.928, allocations: 4.328 kB / 3.419 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/3.929, allocations: 225.4 kB / 3.419 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/3.929, allocations: 0 / 3.419 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.0008129/3.929, allocations: 0.5365 MB / 3.42 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/3.93, allocations: 59.41 kB / 3.42 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/3.931, allocations: 1.467 MB / 3.421 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/3.931, allocations: 25.7 kB / 3.421 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/3.931, allocations: 301.9 kB / 3.422 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/3.931, allocations: 142 kB / 3.422 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/3.931, allocations: 0 / 3.422 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.592e-05/3.932, allocations: 322 kB / 3.422 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/3.932, allocations: 157.3 kB / 3.422 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/3.932, allocations: 270.9 kB / 3.423 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/3.932, allocations: 188.3 kB / 3.423 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/3.932, allocations: 0 / 3.423 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008422/3.933, allocations: 0.6502 MB / 3.423 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/3.933, allocations: 4 kB / 3.423 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/3.933, allocations: 7.906 kB / 3.423 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/3.933, allocations: 136.8 kB / 3.423 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/3.934, allocations: 119.8 kB / 3.424 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/3.936, allocations: 2.193 MB / 3.426 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/3.936, allocations: 79.75 kB / 3.426 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/3.936, allocations: 20 kB / 3.426 GB, free: 207.9 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: 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 (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/3.936, allocations: 130.5 kB / 3.426 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/3.936, allocations: 114.5 kB / 3.426 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/3.937, allocations: 0.5799 MB / 3.427 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/3.937, allocations: 11.89 kB / 3.427 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/3.937, allocations: 4 kB / 3.427 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/3.937, allocations: 3.984 kB / 3.427 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/3.939, allocations: 1.549 MB / 3.428 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/3.939, allocations: 0 / 3.428 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/3.939, allocations: 55.91 kB / 3.428 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/3.94, allocations: 161.6 kB / 3.428 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/3.94, allocations: 4 kB / 3.428 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/3.942, allocations: 3.474 MB / 3.432 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/3.942, allocations: 0 / 3.432 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009922/3.943, allocations: 0.8576 MB / 3.433 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/3.944, allocations: 295.5 kB / 3.433 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/3.944, allocations: 12 kB / 3.433 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/3.944, allocations: 35.97 kB / 3.433 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/3.944, allocations: 39.92 kB / 3.433 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/3.944, allocations: 19.98 kB / 3.433 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009586/3.945, allocations: 1.151 MB / 3.434 GB, free: 199 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007377/3.946, allocations: 279.8 kB / 3.434 GB, free: 198.7 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/3.947, allocations: 0.932 MB / 3.435 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008038/3.948, allocations: 0.5407 MB / 3.436 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/3.948, allocations: 3.938 kB / 3.436 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/3.948, allocations: 447.6 kB / 3.436 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/3.949, allocations: 165.7 kB / 3.436 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/3.952, allocations: 1.984 MB / 3.438 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/3.952, allocations: 1.223 MB / 3.44 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/3.952, allocations: 0 / 3.44 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.01803/3.97, allocations: 13.43 MB / 3.453 GB, free: 180.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches