Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.00105/0.00105, allocations: 177.3 kB / 316 MB, free: 3.488 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.141/1.141, 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.0009005/0.0009006, allocations: 90.84 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.233e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1531, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.9/4.054, allocations: 2.467 GB / 3.351 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/4.054, allocations: 91.45 kB / 3.351 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1165/4.17, allocations: 66.38 MB / 3.416 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.824e-05/4.17, allocations: 28 kB / 3.416 GB, free: 201.2 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001714/4.172, allocations: 1.373 MB / 3.417 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/4.172, allocations: 11.97 kB / 3.417 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/4.172, allocations: 158 kB / 3.418 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/4.175, allocations: 1.556 MB / 3.419 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/4.175, allocations: 70.62 kB / 3.419 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/4.175, allocations: 35.92 kB / 3.419 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000537/4.176, allocations: 345.9 kB / 3.42 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/4.177, allocations: 464.9 kB / 3.42 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/4.177, allocations: 0 / 3.42 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/4.177, allocations: 3.984 kB / 3.42 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/4.177, allocations: 16 kB / 3.42 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/4.179, allocations: 2.697 MB / 3.423 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/4.18, allocations: 286.8 kB / 3.423 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/4.18, allocations: 265.6 kB / 3.423 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/4.18, allocations: 4.375 kB / 3.423 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/4.18, allocations: 264.3 kB / 3.423 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 1.814e-06/4.18, allocations: 0 / 3.423 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.0009945/4.181, allocations: 0.6323 MB / 3.424 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/4.182, allocations: 55.84 kB / 3.424 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/4.184, allocations: 1.775 MB / 3.426 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/4.184, allocations: 33.64 kB / 3.426 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/4.184, allocations: 327.2 kB / 3.426 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/4.184, allocations: 161.7 kB / 3.426 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/4.184, allocations: 0 / 3.426 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/4.184, allocations: 330 kB / 3.427 GB, free: 190 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/4.184, allocations: 169.3 kB / 3.427 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/4.185, allocations: 268.7 kB / 3.427 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/4.185, allocations: 202.1 kB / 3.427 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/4.185, allocations: 0 / 3.427 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009987/4.186, allocations: 0.7323 MB / 3.428 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/4.186, allocations: 8 kB / 3.428 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/4.186, allocations: 352 / 3.428 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/4.186, allocations: 163.3 kB / 3.428 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/4.187, allocations: 119.8 kB / 3.428 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/4.189, allocations: 2.482 MB / 3.431 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/4.19, allocations: 87.44 kB / 3.431 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/4.19, allocations: 24 kB / 3.431 GB, free: 185.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: 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,mean.y,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.0001158/4.19, allocations: 127.5 kB / 3.431 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/4.19, allocations: 134.2 kB / 3.431 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/4.191, allocations: 0.6992 MB / 3.432 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/4.191, allocations: 8 kB / 3.432 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/4.191, allocations: 4 kB / 3.432 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/4.191, allocations: 0 / 3.432 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/4.193, allocations: 1.79 MB / 3.433 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/4.193, allocations: 11.88 kB / 3.433 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/4.194, allocations: 63.89 kB / 3.434 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/4.194, allocations: 181.5 kB / 3.434 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/4.194, allocations: 11.89 kB / 3.434 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/4.197, allocations: 3.779 MB / 3.437 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/4.197, allocations: 0 / 3.437 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/4.198, allocations: 0.9871 MB / 3.438 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/4.199, allocations: 347.3 kB / 3.439 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/4.199, allocations: 8 kB / 3.439 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/4.199, allocations: 47.89 kB / 3.439 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/4.199, allocations: 40.42 kB / 3.439 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/4.199, allocations: 20.22 kB / 3.439 GB, free: 177 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001298/4.201, allocations: 1.399 MB / 3.44 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00095/4.202, allocations: 311.5 kB / 3.44 GB, free: 175.3 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: 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) * 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.001155/4.203, allocations: 0.9402 MB / 3.441 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009604/4.204, allocations: 0.5959 MB / 3.442 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/4.204, allocations: 3.938 kB / 3.442 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/4.204, allocations: 473.8 kB / 3.442 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/4.205, allocations: 195.4 kB / 3.443 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/4.208, allocations: 2.383 MB / 3.445 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/4.209, allocations: 1.327 MB / 3.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/4.209, allocations: 4 kB / 3.446 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02142/4.231, allocations: 14.93 MB / 3.461 GB, free: 154.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches