Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") [: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 1.931/1.931, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001087/0.001087, allocations: 180.5 kB / 487 MB, free: 5.367 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.317/1.317, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0009312/0.0009312, allocations: 114.8 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.113e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.662/4.926, allocations: 2.19 GB / 3.395 GB, free: 111.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/4.926, allocations: 99.78 kB / 3.396 GB, free: 111.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1946/5.121, allocations: 80.07 MB / 3.474 GB, free: 30.66 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000241/5.121, allocations: 51.88 kB / 3.474 GB, free: 30.61 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005287/5.126, allocations: 2.306 MB / 3.476 GB, free: 28.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/5.126, allocations: 8.031 kB / 3.476 GB, free: 28.24 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007855/5.127, allocations: 312.1 kB / 3.476 GB, free: 27.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/5.135, allocations: 2.42 MB / 3.479 GB, free: 25.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/5.136, allocations: 87.67 kB / 3.479 GB, free: 25.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/5.136, allocations: 55.94 kB / 3.479 GB, free: 25.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002036/5.138, allocations: 0.7029 MB / 3.48 GB, free: 24.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/5.14, allocations: 0.7938 MB / 3.48 GB, free: 23.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/5.14, allocations: 3.906 kB / 3.48 GB, free: 23.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/5.14, allocations: 8 kB / 3.48 GB, free: 23.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/5.14, allocations: 16 kB / 3.48 GB, free: 23.77 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00894/5.149, allocations: 4.391 MB / 3.485 GB, free: 19.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/5.15, allocations: 0.534 MB / 3.485 GB, free: 18.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/5.151, allocations: 485.9 kB / 3.486 GB, free: 18.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/5.151, allocations: 16.77 kB / 3.486 GB, free: 18.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/5.152, allocations: 492.4 kB / 3.486 GB, free: 17.58 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 3.186e-06/5.152, allocations: 0 / 3.486 GB, free: 17.58 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.002527/5.154, allocations: 1.27 MB / 3.487 GB, free: 16.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/5.154, allocations: 64.17 kB / 3.487 GB, free: 16.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005552/5.16, allocations: 3.753 MB / 3.491 GB, free: 12.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/5.16, allocations: 29.7 kB / 3.491 GB, free: 12.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/5.16, allocations: 0.534 MB / 3.492 GB, free: 11.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/5.16, allocations: 291.9 kB / 3.492 GB, free: 11.59 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/5.16, allocations: 0 / 3.492 GB, free: 11.59 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/5.161, allocations: 350.7 kB / 3.492 GB, free: 11.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/5.161, allocations: 333.9 kB / 3.493 GB, free: 10.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/5.162, allocations: 495 kB / 3.493 GB, free: 10.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/5.162, allocations: 403.3 kB / 3.493 GB, free: 9.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/5.162, allocations: 0 / 3.493 GB, free: 9.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00226/5.164, allocations: 1.393 MB / 3.495 GB, free: 8.574 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/5.164, allocations: 4 kB / 3.495 GB, free: 8.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/5.164, allocations: 4 kB / 3.495 GB, free: 8.566 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008922/5.165, allocations: 333.6 kB / 3.495 GB, free: 8.238 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/5.166, allocations: 179.7 kB / 3.495 GB, free: 8.062 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/5.17, allocations: 4.686 MB / 3.5 GB, free: 3.145 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/5.172, allocations: 127.2 kB / 3.5 GB, free: 3.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/5.172, allocations: 35.98 kB / 3.5 GB, free: 2.984 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001968/5.172, allocations: 128.9 kB / 3.5 GB, free: 2.855 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/5.172, allocations: 276.5 kB / 3.5 GB, free: 2.582 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/5.175, allocations: 1.431 MB / 3.502 GB, free: 1.125 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/5.175, allocations: 8 kB / 3.502 GB, free: 1.117 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/5.175, allocations: 8 kB / 3.502 GB, free: 1.109 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/5.175, allocations: 7.969 kB / 3.502 GB, free: 1.102 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5065/5.682, allocations: 3.492 MB / 3.505 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/5.682, allocations: 0 / 3.505 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/5.682, allocations: 107.2 kB / 3.505 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009176/5.683, allocations: 331.1 kB / 3.506 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/5.683, allocations: 15.5 kB / 3.506 GB, free: 0.4931 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004922/5.688, allocations: 4.675 MB / 3.51 GB, free: 0.4907 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/5.688, allocations: 2.5 kB / 3.51 GB, free: 0.4907 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003715/5.692, allocations: 1.967 MB / 3.512 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/5.693, allocations: 0.6388 MB / 3.513 GB, free: 0.4902 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/5.693, allocations: 5.656 kB / 3.513 GB, free: 0.4902 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/5.694, allocations: 61.27 kB / 3.513 GB, free: 0.4902 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/5.694, allocations: 76 kB / 3.513 GB, free: 0.4902 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/5.694, allocations: 31 kB / 3.513 GB, free: 0.4902 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.00376/5.698, allocations: 2.961 MB / 3.516 GB, free: 0.49 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001705/5.7, allocations: 0.5242 MB / 3.516 GB, free: 0.49 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/5.701, allocations: 0.9456 MB / 3.517 GB, free: 0.4899 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00182/5.703, allocations: 1.13 MB / 3.518 GB, free: 0.4897 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/5.703, allocations: 0 / 3.518 GB, free: 0.4897 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/5.704, allocations: 0.7397 MB / 3.519 GB, free: 0.4895 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/5.706, allocations: 287 kB / 3.519 GB, free: 0.4895 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/5.715, allocations: 4.755 MB / 3.524 GB, free: 0.4887 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/5.717, allocations: 1.981 MB / 3.526 GB, free: 499.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/5.717, allocations: 0 / 3.526 GB, free: 499.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04408/5.761, allocations: 24.2 MB / 3.55 GB, free: 498.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches