Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.716/1.716, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009229/0.0009229, allocations: 193.2 kB / 490.8 MB, free: 1.93 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.071/1.071, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0007946/0.0007946, allocations: 85.28 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.738e-06/4.829e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.777/2.946, allocations: 1.918 GB / 3.13 GB, free: 375.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/2.946, allocations: 85.72 kB / 3.13 GB, free: 375.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2736/3.22, allocations: 173.6 MB / 3.299 GB, free: 211 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.16e-05/3.22, allocations: 15.94 kB / 3.299 GB, free: 211 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.0008877/3.221, allocations: 0.7403 MB / 3.3 GB, free: 210.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/3.221, allocations: 8.031 kB / 3.3 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/3.222, allocations: 163.1 kB / 3.3 GB, free: 210.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/3.223, allocations: 0.5208 MB / 3.301 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/3.223, allocations: 8 kB / 3.301 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/3.223, allocations: 20 kB / 3.301 GB, free: 209.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/3.223, allocations: 201.2 kB / 3.301 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/3.224, allocations: 279.7 kB / 3.301 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/3.224, allocations: 3.906 kB / 3.301 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/3.224, allocations: 7.984 kB / 3.301 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/3.224, allocations: 12.66 kB / 3.301 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/3.225, allocations: 1.409 MB / 3.303 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/3.225, allocations: 150 kB / 3.303 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/3.225, allocations: 105 kB / 3.303 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/3.225, allocations: 8 kB / 3.303 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/3.225, allocations: 144.9 kB / 3.303 GB, free: 207 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/3.225, allocations: 0 / 3.303 GB, free: 207 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002081/3.228, allocations: 0.9438 MB / 3.304 GB, free: 206 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/3.228, allocations: 55.41 kB / 3.304 GB, free: 205.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/3.228, allocations: 389.2 kB / 3.305 GB, free: 205.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/3.228, allocations: 25.7 kB / 3.305 GB, free: 205.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/3.228, allocations: 176.2 kB / 3.305 GB, free: 205.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/3.228, allocations: 102.5 kB / 3.305 GB, free: 205.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/3.228, allocations: 0 / 3.305 GB, free: 205.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/3.228, allocations: 358.8 kB / 3.305 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/3.228, allocations: 124.7 kB / 3.305 GB, free: 204.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/3.228, allocations: 174.3 kB / 3.305 GB, free: 204.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/3.229, allocations: 166.1 kB / 3.306 GB, free: 204.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/3.229, allocations: 3.938 kB / 3.306 GB, free: 204.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000795/3.23, allocations: 463.6 kB / 3.306 GB, free: 204 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/3.23, allocations: 8.156 kB / 3.306 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/3.23, allocations: 7.984 kB / 3.306 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/3.23, allocations: 80.8 kB / 3.306 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/3.23, allocations: 71.84 kB / 3.306 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/3.232, allocations: 1.685 MB / 3.308 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/3.232, allocations: 20.02 kB / 3.308 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/3.232, allocations: 16.06 kB / 3.308 GB, free: 201.9 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.476e-05/3.232, allocations: 112.9 kB / 3.308 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/3.232, allocations: 47.44 kB / 3.308 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/3.233, allocations: 371.7 kB / 3.308 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/3.233, allocations: 3.938 kB / 3.308 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/3.233, allocations: 7.906 kB / 3.308 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/3.233, allocations: 3.984 kB / 3.308 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/3.234, allocations: 0.9017 MB / 3.309 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/3.234, allocations: 0 / 3.309 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/3.234, allocations: 55.97 kB / 3.309 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/3.234, allocations: 108.7 kB / 3.309 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/3.235, allocations: 8 kB / 3.309 GB, free: 200.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/3.236, allocations: 1.661 MB / 3.311 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/3.236, allocations: 4.062 kB / 3.311 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000706/3.236, allocations: 0.5475 MB / 3.312 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/3.237, allocations: 156.5 kB / 3.312 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/3.237, allocations: 7.984 kB / 3.312 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/3.237, allocations: 15.84 kB / 3.312 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/3.237, allocations: 19.97 kB / 3.312 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/3.237, allocations: 15.98 kB / 3.312 GB, free: 197.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002077/3.237, allocations: 275.2 kB / 3.312 GB, free: 197.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005641/3.238, allocations: 187.8 kB / 3.312 GB, free: 197.2 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.001071/3.239, allocations: 1.029 MB / 3.313 GB, free: 196.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005934/3.24, allocations: 390.8 kB / 3.314 GB, free: 195.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/3.24, allocations: 8.062 kB / 3.314 GB, free: 195.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/3.24, allocations: 249.5 kB / 3.314 GB, free: 195.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/3.241, allocations: 208 kB / 3.314 GB, free: 195.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/3.242, allocations: 0.7323 MB / 3.315 GB, free: 194.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/3.242, allocations: 0.8974 MB / 3.316 GB, free: 193.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/3.242, allocations: 4 kB / 3.316 GB, free: 193.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01441/3.257, allocations: 11.92 MB / 3.327 GB, free: 181.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches