Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.05/2.05, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001085/0.001085, allocations: 182.5 kB / 490.8 MB, free: 1.914 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.479/1.479, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009721, allocations: 91.06 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.4/5.699, allocations: 2.188 GB / 3.4 GB, free: 96.62 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004249/5.7, allocations: 99.98 kB / 3.4 GB, free: 96.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1345/5.834, allocations: 64.34 MB / 3.463 GB, free: 35.84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002174/5.835, allocations: 27.94 kB / 3.463 GB, free: 35.82 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003711/5.838, allocations: 1.241 MB / 3.464 GB, free: 34.53 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/5.838, allocations: 8.031 kB / 3.464 GB, free: 34.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005781/5.839, allocations: 134.3 kB / 3.464 GB, free: 34.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/5.843, allocations: 1.459 MB / 3.466 GB, free: 32.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/5.843, allocations: 66.69 kB / 3.466 GB, free: 32.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/5.843, allocations: 28 kB / 3.466 GB, free: 32.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007116/5.844, allocations: 321.8 kB / 3.466 GB, free: 32.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/5.845, allocations: 421 kB / 3.466 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/5.845, allocations: 0 / 3.466 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/5.845, allocations: 0 / 3.466 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/5.845, allocations: 15.94 kB / 3.466 GB, free: 32.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/5.848, allocations: 2.477 MB / 3.469 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/5.849, allocations: 274.2 kB / 3.469 GB, free: 29.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/5.849, allocations: 243.8 kB / 3.469 GB, free: 28.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/5.849, allocations: 8.312 kB / 3.469 GB, free: 28.83 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/5.85, allocations: 226.2 kB / 3.47 GB, free: 28.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/5.85, allocations: 0 / 3.47 GB, free: 28.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001192/5.851, allocations: 0.5761 MB / 3.47 GB, free: 28.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/5.851, allocations: 55.41 kB / 3.47 GB, free: 27.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/5.853, allocations: 1.459 MB / 3.472 GB, free: 26.47 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/5.853, allocations: 25.7 kB / 3.472 GB, free: 26.44 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/5.854, allocations: 298 kB / 3.472 GB, free: 26.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/5.854, allocations: 146 kB / 3.472 GB, free: 26 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/5.854, allocations: 0 / 3.472 GB, free: 26 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/5.854, allocations: 326 kB / 3.472 GB, free: 25.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/5.854, allocations: 157.3 kB / 3.473 GB, free: 25.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/5.854, allocations: 256.6 kB / 3.473 GB, free: 25.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/5.855, allocations: 184.3 kB / 3.473 GB, free: 25.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.855, allocations: 0 / 3.473 GB, free: 25.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00114/5.856, allocations: 0.6707 MB / 3.474 GB, free: 24.37 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/5.856, allocations: 4 kB / 3.474 GB, free: 24.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/5.856, allocations: 4 kB / 3.474 GB, free: 24.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/5.856, allocations: 155.4 kB / 3.474 GB, free: 24.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/5.857, allocations: 104 kB / 3.474 GB, free: 24.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/5.859, allocations: 2.461 MB / 3.476 GB, free: 21.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/5.86, allocations: 75.77 kB / 3.476 GB, free: 21.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/5.86, allocations: 27.94 kB / 3.476 GB, free: 21.44 MB / 1.151 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.0001476/5.86, allocations: 130.5 kB / 3.476 GB, free: 21.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/5.86, allocations: 118.5 kB / 3.477 GB, free: 21.19 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/5.862, allocations: 0.6134 MB / 3.477 GB, free: 20.56 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/5.862, allocations: 11.94 kB / 3.477 GB, free: 20.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/5.862, allocations: 0 / 3.477 GB, free: 20.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/5.862, allocations: 3.984 kB / 3.477 GB, free: 20.54 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/5.864, allocations: 1.583 MB / 3.479 GB, free: 18.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/5.864, allocations: 4 kB / 3.479 GB, free: 18.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/5.864, allocations: 59.89 kB / 3.479 GB, free: 18.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/5.865, allocations: 165.6 kB / 3.479 GB, free: 18.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/5.865, allocations: 11.98 kB / 3.479 GB, free: 18.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/5.868, allocations: 3.738 MB / 3.483 GB, free: 14.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/5.868, allocations: 0 / 3.483 GB, free: 14.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001334/5.869, allocations: 0.8942 MB / 3.483 GB, free: 13.78 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/5.87, allocations: 303.6 kB / 3.484 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/5.87, allocations: 7.984 kB / 3.484 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/5.87, allocations: 35.97 kB / 3.484 GB, free: 13.42 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/5.871, allocations: 48.3 kB / 3.484 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/5.871, allocations: 19.98 kB / 3.484 GB, free: 13.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001499/5.872, allocations: 1.147 MB / 3.485 GB, free: 12.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001082/5.873, allocations: 275.5 kB / 3.485 GB, free: 11.93 MB / 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: 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.001517/5.875, allocations: 0.945 MB / 3.486 GB, free: 11.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001046/5.876, allocations: 0.5448 MB / 3.487 GB, free: 10.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.876, allocations: 0 / 3.487 GB, free: 10.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/5.877, allocations: 461 kB / 3.487 GB, free: 10.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/5.878, allocations: 162.9 kB / 3.487 GB, free: 9.914 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/5.881, allocations: 2.025 MB / 3.489 GB, free: 7.848 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/5.882, allocations: 1.227 MB / 3.49 GB, free: 6.59 MB / 1.151 GB Notification: Performance of SimCode: time 5.82e-07/5.882, allocations: 0 / 3.49 GB, free: 6.59 MB / 1.151 GB Notification: Performance of Templates: time 0.5844/6.467, allocations: 13.68 MB / 3.504 GB, free: 0.5067 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches