Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") [: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.717/1.717, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009273/0.0009273, allocations: 184.5 kB / 487 MB, free: 5.332 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.076/1.076, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008212/0.0008212, allocations: 98.75 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.2e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.697/2.863, allocations: 1.918 GB / 3.123 GB, free: 409.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/2.863, allocations: 93.23 kB / 3.123 GB, free: 409.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2779/3.141, allocations: 173.6 MB / 3.292 GB, free: 233.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.034e-05/3.141, allocations: 20.12 kB / 3.292 GB, free: 233.1 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008167/3.142, allocations: 0.7441 MB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/3.142, allocations: 8.031 kB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/3.143, allocations: 155.2 kB / 3.293 GB, free: 232.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/3.144, allocations: 0.5247 MB / 3.294 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/3.144, allocations: 8 kB / 3.294 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/3.144, allocations: 19.98 kB / 3.294 GB, free: 231.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002978/3.144, allocations: 205.2 kB / 3.294 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/3.144, allocations: 275.7 kB / 3.294 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/3.144, allocations: 4 kB / 3.294 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/3.144, allocations: 0 / 3.294 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/3.144, allocations: 20.53 kB / 3.294 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/3.146, allocations: 1.409 MB / 3.296 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/3.146, allocations: 150 kB / 3.296 GB, free: 229.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/3.146, allocations: 104.8 kB / 3.296 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/3.146, allocations: 4 kB / 3.296 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/3.146, allocations: 152.5 kB / 3.296 GB, free: 229.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/3.146, allocations: 0 / 3.296 GB, free: 229.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002058/3.148, allocations: 0.9468 MB / 3.297 GB, free: 228.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/3.148, allocations: 59.34 kB / 3.297 GB, free: 228 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/3.149, allocations: 385.2 kB / 3.297 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/3.149, allocations: 25.7 kB / 3.297 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/3.149, allocations: 188.2 kB / 3.298 GB, free: 227.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/3.149, allocations: 102.5 kB / 3.298 GB, free: 227.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/3.149, allocations: 0 / 3.298 GB, free: 227.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/3.149, allocations: 354.8 kB / 3.298 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/3.149, allocations: 120.7 kB / 3.298 GB, free: 226.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/3.149, allocations: 178.3 kB / 3.298 GB, free: 226.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/3.149, allocations: 157.5 kB / 3.298 GB, free: 226.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/3.149, allocations: 0 / 3.298 GB, free: 226.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007932/3.15, allocations: 480.2 kB / 3.299 GB, free: 226 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/3.15, allocations: 4 kB / 3.299 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/3.15, allocations: 0 / 3.299 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/3.151, allocations: 88.7 kB / 3.299 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/3.151, allocations: 68.05 kB / 3.299 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/3.152, allocations: 1.685 MB / 3.301 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/3.153, allocations: 15.89 kB / 3.301 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/3.153, allocations: 12 kB / 3.301 GB, free: 224 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/3.153, allocations: 126.1 kB / 3.301 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/3.153, allocations: 47.38 kB / 3.301 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/3.153, allocations: 366.7 kB / 3.301 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/3.153, allocations: 4 kB / 3.301 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/3.153, allocations: 0 / 3.301 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/3.153, allocations: 4.031 kB / 3.301 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/3.154, allocations: 0.9024 MB / 3.302 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/3.154, allocations: 0 / 3.302 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/3.155, allocations: 55.92 kB / 3.302 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000412/3.155, allocations: 112.7 kB / 3.302 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/3.155, allocations: 7.984 kB / 3.302 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/3.156, allocations: 1.661 MB / 3.304 GB, free: 220.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/3.156, allocations: 0 / 3.304 GB, free: 220.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007171/3.157, allocations: 0.5512 MB / 3.304 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/3.157, allocations: 148.7 kB / 3.305 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/3.157, allocations: 8 kB / 3.305 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/3.158, allocations: 19.83 kB / 3.305 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/3.158, allocations: 15.98 kB / 3.305 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/3.158, allocations: 7.984 kB / 3.305 GB, free: 219.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001997/3.158, allocations: 283.2 kB / 3.305 GB, free: 219.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005487/3.159, allocations: 175.9 kB / 3.305 GB, free: 219.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/3.16, allocations: 1.045 MB / 3.306 GB, free: 218.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005949/3.16, allocations: 406 kB / 3.307 GB, free: 218 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/3.16, allocations: 0 / 3.307 GB, free: 218 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/3.161, allocations: 245.6 kB / 3.307 GB, free: 217.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/3.161, allocations: 206.9 kB / 3.307 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/3.162, allocations: 0.7287 MB / 3.308 GB, free: 216.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/3.163, allocations: 0.9013 MB / 3.309 GB, free: 215.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/3.163, allocations: 0 / 3.309 GB, free: 215.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01429/3.177, allocations: 11.93 MB / 3.32 GB, free: 204 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches