Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.16/1.16, allocations: 249.4 MB / 256.7 MB, free: 7.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009246/0.0009245, allocations: 180.5 kB / 316 MB, free: 7.914 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.983/0.983, allocations: 205.1 MB / 0.5667 GB, free: 3.297 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007898/0.0007899, allocations: 90.83 kB / 0.671 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.719e-06, allocations: 0 / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 106.3 MB / 0.8845 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.156/3.294, allocations: 2.191 GB / 3.075 GB, free: 236.7 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/3.294, allocations: 93.22 kB / 3.075 GB, free: 236.6 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.2652/3.559, allocations: 166.9 MB / 3.238 GB, free: 66.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.045e-05/3.559, allocations: 11.98 kB / 3.238 GB, free: 66.51 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008103/3.56, allocations: 0.7324 MB / 3.239 GB, free: 65.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/3.56, allocations: 12.03 kB / 3.239 GB, free: 65.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/3.561, allocations: 159.2 kB / 3.239 GB, free: 65.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/3.562, allocations: 0.5013 MB / 3.24 GB, free: 65.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/3.562, allocations: 8 kB / 3.24 GB, free: 65.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/3.562, allocations: 23.98 kB / 3.24 GB, free: 64.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003087/3.562, allocations: 201.2 kB / 3.24 GB, free: 64.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/3.562, allocations: 283.6 kB / 3.24 GB, free: 64.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/3.562, allocations: 4 kB / 3.24 GB, free: 64.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/3.563, allocations: 0 / 3.24 GB, free: 64.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/3.563, allocations: 8.656 kB / 3.24 GB, free: 64.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/3.564, allocations: 1.404 MB / 3.242 GB, free: 62.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/3.564, allocations: 158 kB / 3.242 GB, free: 62.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/3.564, allocations: 100.8 kB / 3.242 GB, free: 62.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/3.564, allocations: 4 kB / 3.242 GB, free: 62.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/3.564, allocations: 151.9 kB / 3.242 GB, free: 62.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/3.564, allocations: 4 kB / 3.242 GB, free: 62.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002215/3.567, allocations: 0.9944 MB / 3.243 GB, free: 61.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/3.567, allocations: 63.41 kB / 3.243 GB, free: 61.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/3.567, allocations: 381 kB / 3.243 GB, free: 61.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/3.567, allocations: 25.7 kB / 3.243 GB, free: 60.99 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/3.567, allocations: 184.2 kB / 3.244 GB, free: 60.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/3.567, allocations: 102.5 kB / 3.244 GB, free: 60.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/3.567, allocations: 0 / 3.244 GB, free: 60.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/3.567, allocations: 354.8 kB / 3.244 GB, free: 60.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/3.567, allocations: 124.9 kB / 3.244 GB, free: 60.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/3.568, allocations: 193.4 kB / 3.244 GB, free: 60.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/3.568, allocations: 151.7 kB / 3.244 GB, free: 59.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/3.568, allocations: 0 / 3.244 GB, free: 59.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007616/3.569, allocations: 478 kB / 3.245 GB, free: 59.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/3.569, allocations: 4 kB / 3.245 GB, free: 59.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/3.569, allocations: 3.906 kB / 3.245 GB, free: 59.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/3.569, allocations: 84.97 kB / 3.245 GB, free: 59.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/3.569, allocations: 67.89 kB / 3.245 GB, free: 59.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/3.571, allocations: 1.689 MB / 3.247 GB, free: 57.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/3.571, allocations: 16.02 kB / 3.247 GB, free: 57.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/3.571, allocations: 24.03 kB / 3.247 GB, free: 57.39 MB / 0.8731 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 (42): * Single equations (assignments): 41 * 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.348e-05/3.571, allocations: 108.9 kB / 3.247 GB, free: 57.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/3.571, allocations: 43.44 kB / 3.247 GB, free: 57.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/3.572, allocations: 387.3 kB / 3.247 GB, free: 56.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/3.572, allocations: 3.938 kB / 3.247 GB, free: 56.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/3.572, allocations: 4 kB / 3.247 GB, free: 56.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/3.572, allocations: 3.984 kB / 3.247 GB, free: 56.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/3.573, allocations: 0.9579 MB / 3.248 GB, free: 55.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/3.573, allocations: 0 / 3.248 GB, free: 55.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/3.573, allocations: 63.91 kB / 3.248 GB, free: 55.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/3.574, allocations: 104.9 kB / 3.248 GB, free: 55.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/3.574, allocations: 15.98 kB / 3.248 GB, free: 55.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/3.575, allocations: 1.65 MB / 3.25 GB, free: 53.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/3.575, allocations: 4 kB / 3.25 GB, free: 53.88 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007515/3.576, allocations: 0.5731 MB / 3.251 GB, free: 53.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/3.576, allocations: 156.5 kB / 3.251 GB, free: 53.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/3.576, allocations: 11.98 kB / 3.251 GB, free: 53.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/3.577, allocations: 19.92 kB / 3.251 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/3.577, allocations: 11.98 kB / 3.251 GB, free: 53.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/3.577, allocations: 11.98 kB / 3.251 GB, free: 53.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0002044/3.577, allocations: 283.2 kB / 3.251 GB, free: 52.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005604/3.577, allocations: 171.9 kB / 3.251 GB, free: 52.61 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 24 * 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.001053/3.578, allocations: 1.025 MB / 3.252 GB, free: 51.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006296/3.579, allocations: 417.5 kB / 3.253 GB, free: 51.24 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/3.579, allocations: 0 / 3.253 GB, free: 51.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/3.579, allocations: 249.6 kB / 3.253 GB, free: 50.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/3.58, allocations: 211.4 kB / 3.253 GB, free: 50.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/3.581, allocations: 0.7527 MB / 3.254 GB, free: 50 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/3.582, allocations: 0.9111 MB / 3.255 GB, free: 49.06 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/3.582, allocations: 0 / 3.255 GB, free: 49.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.01437/3.596, allocations: 11.98 MB / 3.266 GB, free: 37.16 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches