Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.999/1.999, allocations: 387.2 MB / 394.5 MB, free: 4.441 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 185.3 kB / 487 MB, free: 10.94 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 0.7819 GB, free: 3.906 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.66 kB / 0.9213 GB, free: 5 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.356e-06, allocations: 0 / 1.066 GB, free: 141 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 142.3 MB / 1.205 GB, free: 14.67 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.789, allocations: 2.188 GB / 3.393 GB, free: 24.42 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/4.789, allocations: 95.94 kB / 3.393 GB, free: 24.33 MB / 1.143 GB Notification: Performance of FrontEnd: time 0.5437/5.333, allocations: 64.32 MB / 3.456 GB, free: 392.6 MB / 1.143 GB Notification: Performance of Transformations before backend: time 8.291e-05/5.333, allocations: 24.31 kB / 3.456 GB, free: 392.6 MB / 1.143 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001798/5.335, allocations: 1.23 MB / 3.457 GB, free: 391.8 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/5.335, allocations: 13.47 kB / 3.457 GB, free: 391.8 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/5.335, allocations: 138.2 kB / 3.457 GB, free: 391.7 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/5.338, allocations: 1.468 MB / 3.458 GB, free: 391.1 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/5.338, allocations: 60.83 kB / 3.458 GB, free: 391 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/5.338, allocations: 27.97 kB / 3.459 GB, free: 391 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005792/5.339, allocations: 316.9 kB / 3.459 GB, free: 390.9 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/5.34, allocations: 422 kB / 3.459 GB, free: 390.7 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/5.34, allocations: 5.641 kB / 3.459 GB, free: 390.7 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/5.34, allocations: 9.828 kB / 3.459 GB, free: 390.7 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/5.34, allocations: 13.75 kB / 3.459 GB, free: 390.7 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/5.343, allocations: 2.477 MB / 3.462 GB, free: 389 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/5.343, allocations: 266.8 kB / 3.462 GB, free: 388.9 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/5.344, allocations: 237.7 kB / 3.462 GB, free: 388.8 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/5.344, allocations: 11.48 kB / 3.462 GB, free: 388.8 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/5.344, allocations: 228.2 kB / 3.462 GB, free: 388.7 MB / 1.143 GB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/5.344, allocations: 1.094 kB / 3.462 GB, free: 388.7 MB / 1.143 GB Notification: Performance of matching and sorting (n=45): time 0.001065/5.345, allocations: 0.5705 MB / 3.463 GB, free: 388.4 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/5.345, allocations: 56.22 kB / 3.463 GB, free: 388.4 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/5.347, allocations: 1.46 MB / 3.464 GB, free: 387.8 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/5.347, allocations: 27.77 kB / 3.464 GB, free: 387.8 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/5.347, allocations: 294.3 kB / 3.465 GB, free: 387.6 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/5.348, allocations: 142.1 kB / 3.465 GB, free: 387.5 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/5.348, allocations: 4 kB / 3.465 GB, free: 387.5 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/5.348, allocations: 326 kB / 3.465 GB, free: 387.2 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/5.348, allocations: 157.4 kB / 3.465 GB, free: 387.1 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/5.348, allocations: 264.8 kB / 3.466 GB, free: 386.9 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/5.348, allocations: 178.9 kB / 3.466 GB, free: 386.9 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/5.349, allocations: 5.719 kB / 3.466 GB, free: 386.9 MB / 1.143 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001072/5.35, allocations: 0.6705 MB / 3.466 GB, free: 386.6 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/5.35, allocations: 4.938 kB / 3.466 GB, free: 386.6 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/5.35, allocations: 2.891 kB / 3.466 GB, free: 386.6 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/5.35, allocations: 154 kB / 3.467 GB, free: 386.5 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/5.35, allocations: 115.5 kB / 3.467 GB, free: 386.5 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/5.353, allocations: 2.449 MB / 3.469 GB, free: 384.7 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/5.354, allocations: 81.11 kB / 3.469 GB, free: 384.6 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/5.354, allocations: 19.44 kB / 3.469 GB, free: 384.6 MB / 1.143 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_last,mean.y_last,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 0.0001034/5.354, allocations: 119.3 kB / 3.469 GB, free: 384.5 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/5.354, allocations: 118.8 kB / 3.469 GB, free: 384.5 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/5.355, allocations: 0.6206 MB / 3.47 GB, free: 384.2 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/5.355, allocations: 9.406 kB / 3.47 GB, free: 384.2 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/5.355, allocations: 3.781 kB / 3.47 GB, free: 384.2 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/5.355, allocations: 2.016 kB / 3.47 GB, free: 384.2 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/5.357, allocations: 1.591 MB / 3.472 GB, free: 383.5 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/5.357, allocations: 0 / 3.472 GB, free: 383.5 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/5.358, allocations: 53.27 kB / 3.472 GB, free: 383.5 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/5.358, allocations: 178.1 kB / 3.472 GB, free: 383.4 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/5.358, allocations: 9.688 kB / 3.472 GB, free: 383.4 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/5.361, allocations: 3.732 MB / 3.475 GB, free: 380.3 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/5.361, allocations: 1.531 kB / 3.475 GB, free: 380.3 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001424/5.363, allocations: 0.9005 MB / 3.476 GB, free: 379.9 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/5.363, allocations: 299.4 kB / 3.477 GB, free: 379.7 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/5.363, allocations: 8.375 kB / 3.477 GB, free: 379.7 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/5.364, allocations: 41.11 kB / 3.477 GB, free: 379.7 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/5.364, allocations: 41.83 kB / 3.477 GB, free: 379.7 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/5.364, allocations: 16.27 kB / 3.477 GB, free: 379.7 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.001613/5.366, allocations: 1.159 MB / 3.478 GB, free: 379.2 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.001216/5.367, allocations: 273 kB / 3.478 GB, free: 379.1 MB / 1.143 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_last) * 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.001714/5.369, allocations: 0.9393 MB / 3.479 GB, free: 378.8 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.001114/5.37, allocations: 0.5444 MB / 3.48 GB, free: 378.6 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/5.37, allocations: 4.062 kB / 3.48 GB, free: 378.6 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/5.37, allocations: 473.6 kB / 3.48 GB, free: 378.3 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/5.371, allocations: 163.4 kB / 3.48 GB, free: 378.2 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/5.375, allocations: 2.018 MB / 3.482 GB, free: 377.5 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009506/5.376, allocations: 1.224 MB / 3.483 GB, free: 376.7 MB / 1.143 GB Notification: Performance of SimCode: time 2.81e-07/5.376, allocations: 0 / 3.483 GB, free: 376.7 MB / 1.143 GB Notification: Performance of Templates: time 0.02635/5.402, allocations: 13.69 MB / 3.497 GB, free: 372.7 MB / 1.143 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches