Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.707/1.707, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009341/0.0009341, allocations: 193.2 kB / 487 MB, free: 5.297 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.062/1.062, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008306/0.0008306, allocations: 100.6 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.099e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.858/3.027, allocations: 2.203 GB / 3.409 GB, free: 38.16 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/3.027, allocations: 91.89 kB / 3.409 GB, free: 38.07 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.424/6.451, allocations: 1.345 GB / 4.753 GB, free: 201.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004249/6.452, allocations: 91.97 kB / 4.753 GB, free: 201.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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.005795/6.458, allocations: 3.333 MB / 4.757 GB, free: 200.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/6.458, allocations: 11.31 kB / 4.757 GB, free: 200.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/6.461, allocations: 0.6998 MB / 4.757 GB, free: 200.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007827/6.469, allocations: 4.873 MB / 4.762 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/6.469, allocations: 80.45 kB / 4.762 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/6.469, allocations: 148.7 kB / 4.762 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003085/6.472, allocations: 2.466 MB / 4.765 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/6.475, allocations: 2.771 MB / 4.767 GB, free: 199.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/6.475, allocations: 7.406 kB / 4.767 GB, free: 199.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/6.476, allocations: 2.969 kB / 4.767 GB, free: 199.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/6.476, allocations: 111.2 kB / 4.767 GB, free: 199.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/6.488, allocations: 13.02 MB / 4.78 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/6.49, allocations: 1.874 MB / 4.782 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/6.491, allocations: 1.091 MB / 4.783 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005249/6.496, allocations: 4.144 MB / 4.787 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/6.497, allocations: 0.982 MB / 4.788 GB, free: 192.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=144): time 2.875e-06/6.497, allocations: 3.562 kB / 4.788 GB, free: 192.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=147): time 0.009424/6.507, allocations: 4.854 MB / 4.793 GB, free: 191.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/6.507, allocations: 66.78 kB / 4.793 GB, free: 191.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/6.509, allocations: 2.441 MB / 4.795 GB, free: 191.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/6.509, allocations: 35.39 kB / 4.795 GB, free: 191.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/6.51, allocations: 1.008 MB / 4.796 GB, free: 191 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/6.51, allocations: 0.4963 MB / 4.797 GB, free: 190.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/6.51, allocations: 0 / 4.797 GB, free: 190.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/6.511, allocations: 390.3 kB / 4.797 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/6.512, allocations: 0.9171 MB / 4.798 GB, free: 190.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/6.513, allocations: 1.528 MB / 4.8 GB, free: 189.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/6.515, allocations: 1.313 MB / 4.801 GB, free: 189.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/6.515, allocations: 6.25 kB / 4.801 GB, free: 189.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00478/6.52, allocations: 2.989 MB / 4.804 GB, free: 189.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008131/6.521, allocations: 7.071 MB / 4.811 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/6.521, allocations: 15.84 kB / 4.811 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/6.522, allocations: 282.8 kB / 4.811 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/6.524, allocations: 498.1 kB / 4.811 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/6.526, allocations: 2.586 MB / 4.814 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/6.528, allocations: 179 kB / 4.814 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/6.528, allocations: 113.9 kB / 4.814 GB, free: 180.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/6.528, allocations: 3.938 kB / 4.814 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0039/6.532, allocations: 2.528 MB / 4.817 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/6.532, allocations: 14.97 kB / 4.817 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009439/6.533, allocations: 301.5 kB / 4.817 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/6.535, allocations: 487.2 kB / 4.817 GB, free: 180.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/6.537, allocations: 2.581 MB / 4.82 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/6.539, allocations: 149.1 kB / 4.82 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/6.539, allocations: 110.4 kB / 4.82 GB, free: 178.3 MB / 1.151 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 (253): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.000334/6.539, allocations: 173.1 kB / 4.82 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/6.54, allocations: 286.4 kB / 4.821 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/6.544, allocations: 2.492 MB / 4.823 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/6.544, allocations: 21.72 kB / 4.823 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/6.544, allocations: 10.44 kB / 4.823 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/6.547, allocations: 2.115 MB / 4.825 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/6.553, allocations: 5.026 MB / 4.83 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/6.553, allocations: 6.438 kB / 4.83 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/6.555, allocations: 270 kB / 4.83 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009247/6.556, allocations: 327.9 kB / 4.831 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/6.556, allocations: 29.17 kB / 4.831 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/6.56, allocations: 8.593 MB / 4.839 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/6.56, allocations: 0 / 4.839 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004273/6.564, allocations: 3.541 MB / 4.843 GB, free: 169.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009091/6.565, allocations: 0.6451 MB / 4.843 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/6.566, allocations: 19.45 kB / 4.843 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/6.567, allocations: 112.8 kB / 4.843 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/6.567, allocations: 88.19 kB / 4.843 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/6.567, allocations: 81.52 kB / 4.843 GB, free: 168.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001782/6.569, allocations: 1.824 MB / 4.845 GB, free: 168.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004044/6.573, allocations: 1.645 MB / 4.847 GB, free: 168.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.s[1],pumRad.filter.s[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.002277/6.576, allocations: 2.07 MB / 4.849 GB, free: 168.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004637/6.58, allocations: 3.838 MB / 4.853 GB, free: 168.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.58, allocations: 4.062 kB / 4.853 GB, free: 168.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/6.582, allocations: 1.585 MB / 4.854 GB, free: 167.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/6.587, allocations: 1.392 MB / 4.856 GB, free: 167.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/6.594, allocations: 5.515 MB / 4.861 GB, free: 166.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/6.596, allocations: 2.719 MB / 4.864 GB, free: 165.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/6.596, allocations: 0 / 4.864 GB, free: 165.6 MB / 1.151 GB Notification: Performance of Templates: time 0.09005/6.686, allocations: 78.08 MB / 4.94 GB, free: 162.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System2.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches