Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") [: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.024/2.024, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.002294/0.002294, allocations: 177.3 kB / 487 MB, free: 5.391 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.275/1.275, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008671/0.0008671, allocations: 97.58 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.673e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.802/4.023, allocations: 2.19 GB / 3.395 GB, free: 111.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/4.023, allocations: 91.94 kB / 3.395 GB, free: 111.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1432/4.167, allocations: 74.63 MB / 3.468 GB, free: 35.91 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00013/4.167, allocations: 43.92 kB / 3.468 GB, free: 35.86 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002553/4.169, allocations: 1.872 MB / 3.47 GB, free: 33.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/4.17, allocations: 8.031 kB / 3.47 GB, free: 33.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/4.17, allocations: 237 kB / 3.47 GB, free: 33.69 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/4.174, allocations: 1.887 MB / 3.472 GB, free: 31.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/4.174, allocations: 75 kB / 3.472 GB, free: 31.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/4.174, allocations: 51.98 kB / 3.472 GB, free: 31.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008272/4.175, allocations: 0.5179 MB / 3.472 GB, free: 31.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/4.176, allocations: 0.6376 MB / 3.473 GB, free: 30.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/4.176, allocations: 0 / 3.473 GB, free: 30.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/4.176, allocations: 7.984 kB / 3.473 GB, free: 30.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/4.176, allocations: 16 kB / 3.473 GB, free: 30.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/4.18, allocations: 3.651 MB / 3.477 GB, free: 26.51 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/4.18, allocations: 412.8 kB / 3.477 GB, free: 26.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/4.181, allocations: 366.6 kB / 3.477 GB, free: 25.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/4.181, allocations: 12.66 kB / 3.477 GB, free: 25.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/4.181, allocations: 362.9 kB / 3.478 GB, free: 25.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/4.181, allocations: 0 / 3.478 GB, free: 25.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001558/4.183, allocations: 0.9367 MB / 3.479 GB, free: 24.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/4.183, allocations: 60.06 kB / 3.479 GB, free: 24.33 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/4.187, allocations: 2.829 MB / 3.482 GB, free: 21.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/4.187, allocations: 25.7 kB / 3.482 GB, free: 21.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/4.187, allocations: 458.9 kB / 3.482 GB, free: 20.99 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/4.187, allocations: 220.8 kB / 3.482 GB, free: 20.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/4.187, allocations: 4 kB / 3.482 GB, free: 20.77 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/4.187, allocations: 334 kB / 3.483 GB, free: 20.44 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/4.187, allocations: 249.9 kB / 3.483 GB, free: 20.19 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/4.188, allocations: 398.9 kB / 3.483 GB, free: 19.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/4.188, allocations: 296.1 kB / 3.483 GB, free: 19.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/4.188, allocations: 4 kB / 3.483 GB, free: 19.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00155/4.19, allocations: 1.07 MB / 3.484 GB, free: 18.37 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/4.19, allocations: 4 kB / 3.484 GB, free: 18.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/4.19, allocations: 4 kB / 3.484 GB, free: 18.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/4.191, allocations: 274.6 kB / 3.485 GB, free: 18.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/4.191, allocations: 143.8 kB / 3.485 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/4.195, allocations: 4.34 MB / 3.489 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/4.196, allocations: 107.3 kB / 3.489 GB, free: 13.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/4.196, allocations: 31.98 kB / 3.489 GB, free: 13.24 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: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/4.196, allocations: 132 kB / 3.489 GB, free: 13.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/4.196, allocations: 205.3 kB / 3.49 GB, free: 12.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/4.198, allocations: 1.061 MB / 3.491 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/4.198, allocations: 8 kB / 3.491 GB, free: 11.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/4.198, allocations: 4 kB / 3.491 GB, free: 11.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/4.198, allocations: 4.125 kB / 3.491 GB, free: 11.81 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/4.201, allocations: 2.65 MB / 3.493 GB, free: 9.109 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/4.201, allocations: 4 kB / 3.493 GB, free: 9.105 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/4.202, allocations: 83.83 kB / 3.493 GB, free: 9.023 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/4.202, allocations: 261.6 kB / 3.494 GB, free: 8.762 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/4.202, allocations: 11.98 kB / 3.494 GB, free: 8.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/4.206, allocations: 4.316 MB / 3.498 GB, free: 4.207 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/4.206, allocations: 4 kB / 3.498 GB, free: 4.203 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001873/4.208, allocations: 1.46 MB / 3.499 GB, free: 2.715 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/4.209, allocations: 494.2 kB / 3.5 GB, free: 2.211 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/4.209, allocations: 15.92 kB / 3.5 GB, free: 2.195 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/4.21, allocations: 51.86 kB / 3.5 GB, free: 2.145 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/4.21, allocations: 56.56 kB / 3.5 GB, free: 2.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/4.21, allocations: 23.98 kB / 3.5 GB, free: 2.066 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.4457/4.655, allocations: 2.232 MB / 3.502 GB, free: 0.4956 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.002196/4.658, allocations: 426.6 kB / 3.502 GB, free: 0.4956 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/4.659, allocations: 0.9446 MB / 3.503 GB, free: 0.4955 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001626/4.661, allocations: 0.91 MB / 3.504 GB, free: 0.4953 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/4.661, allocations: 2.25 kB / 3.504 GB, free: 0.4953 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007583/4.662, allocations: 0.6057 MB / 3.505 GB, free: 0.4951 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/4.663, allocations: 221.9 kB / 3.505 GB, free: 0.4951 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/4.669, allocations: 3.631 MB / 3.509 GB, free: 0.4944 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/4.67, allocations: 1.689 MB / 3.51 GB, free: 0.4937 GB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/4.67, allocations: 6.719 kB / 3.51 GB, free: 0.4937 GB / 1.151 GB Notification: Performance of Templates: time 0.03261/4.703, allocations: 19.85 MB / 3.53 GB, free: 0.4929 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches