Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.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.System2,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.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,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.System2") [: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.149/1.149, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 178.5 kB / 316 MB, free: 7.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 0.5667 GB, free: 23.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 90.14 kB / 0.671 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.843e-06, allocations: 4 kB / 0.7807 GB, free: 424 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.649/3.976, allocations: 2.492 GB / 3.377 GB, free: 308.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/3.976, allocations: 89.91 kB / 3.377 GB, free: 308.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.979/6.955, allocations: 1.296 GB / 4.673 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002936/6.956, allocations: 95.64 kB / 4.673 GB, free: 26.29 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005195/6.961, allocations: 3.351 MB / 4.676 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/6.961, allocations: 8.031 kB / 4.676 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/6.963, allocations: 0.5965 MB / 4.677 GB, free: 22.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008355/6.972, allocations: 4.745 MB / 4.682 GB, free: 17.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/6.972, allocations: 76 kB / 4.682 GB, free: 17.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/6.972, allocations: 144 kB / 4.682 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003829/6.976, allocations: 2.461 MB / 4.684 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/6.98, allocations: 2.768 MB / 4.687 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/6.98, allocations: 11.84 kB / 4.687 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/6.98, allocations: 4 kB / 4.687 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/6.98, allocations: 104.4 kB / 4.687 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/6.995, allocations: 12.92 MB / 4.7 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/6.997, allocations: 1.861 MB / 4.702 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/6.999, allocations: 1.079 MB / 4.703 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/7.005, allocations: 4.097 MB / 4.707 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/7.007, allocations: 0.9631 MB / 4.708 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 2.775e-06/7.007, allocations: 0 / 4.708 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01168/7.018, allocations: 4.882 MB / 4.712 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/7.019, allocations: 116.1 kB / 4.712 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2608/7.279, allocations: 2.439 MB / 4.715 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000524/7.28, allocations: 28.45 kB / 4.715 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/7.281, allocations: 1.005 MB / 4.716 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/7.281, allocations: 0.4964 MB / 4.716 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/7.282, allocations: 5.281 kB / 4.716 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/7.282, allocations: 388.5 kB / 4.717 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/7.283, allocations: 0.9349 MB / 4.718 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/7.284, allocations: 1.551 MB / 4.719 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/7.287, allocations: 1.312 MB / 4.72 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/7.287, allocations: 4.625 kB / 4.72 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005376/7.292, allocations: 3.015 MB / 4.723 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009992/7.293, allocations: 7.054 MB / 4.73 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/7.293, allocations: 18.91 kB / 4.73 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/7.294, allocations: 285.8 kB / 4.731 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/7.296, allocations: 495.3 kB / 4.731 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/7.299, allocations: 2.582 MB / 4.734 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/7.301, allocations: 163.2 kB / 4.734 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/7.302, allocations: 113.5 kB / 4.734 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/7.302, allocations: 2.812 kB / 4.734 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004127/7.306, allocations: 2.557 MB / 4.736 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/7.306, allocations: 17.5 kB / 4.736 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009893/7.307, allocations: 298.4 kB / 4.737 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/7.308, allocations: 477.1 kB / 4.737 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/7.311, allocations: 2.594 MB / 4.74 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/7.313, allocations: 140.2 kB / 4.74 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/7.313, allocations: 108.3 kB / 4.74 GB, free: 162.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004066/7.314, allocations: 170.3 kB / 4.74 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/7.314, allocations: 293.2 kB / 4.74 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/7.319, allocations: 2.486 MB / 4.743 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/7.319, allocations: 18.56 kB / 4.743 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.319, allocations: 10.06 kB / 4.743 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002912/7.321, allocations: 2.11 MB / 4.745 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/7.329, allocations: 5.003 MB / 4.75 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/7.329, allocations: 2.969 kB / 4.75 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/7.33, allocations: 279 kB / 4.75 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/7.331, allocations: 324.4 kB / 4.75 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/7.331, allocations: 37.33 kB / 4.75 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/7.336, allocations: 8.575 MB / 4.759 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.336, allocations: 6.969 kB / 4.759 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004575/7.34, allocations: 3.57 MB / 4.762 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/7.342, allocations: 0.636 MB / 4.763 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/7.342, allocations: 18.78 kB / 4.763 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/7.344, allocations: 104.6 kB / 4.763 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/7.344, allocations: 104 kB / 4.763 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/7.344, allocations: 69.42 kB / 4.763 GB, free: 153 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002036/7.346, allocations: 1.81 MB / 4.765 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004452/7.35, allocations: 1.675 MB / 4.766 GB, free: 152.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002555/7.353, allocations: 2.119 MB / 4.769 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005205/7.358, allocations: 3.924 MB / 4.772 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/7.358, allocations: 6.906 kB / 4.772 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/7.36, allocations: 1.594 MB / 4.774 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/7.365, allocations: 1.379 MB / 4.775 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/7.373, allocations: 5.505 MB / 4.781 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/7.375, allocations: 2.713 MB / 4.783 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of SimCode: time 6.02e-07/7.375, allocations: 0 / 4.783 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.0997/7.475, allocations: 78.44 MB / 4.86 GB, free: 146.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_Boiler_System2.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches