Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.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.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") [: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.74/1.74, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009289/0.000929, allocations: 177.3 kB / 487 MB, free: 5.363 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.072/1.072, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008173/0.0008174, allocations: 90.38 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.08e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.904/3.068, allocations: 2.242 GB / 3.447 GB, free: 55.92 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/3.069, allocations: 91.78 kB / 3.447 GB, free: 55.83 MB / 1.151 GB Notification: Performance of FrontEnd: time 11.09/14.16, allocations: 4.463 GB / 7.91 GB, free: 64.4 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.0009605/14.16, allocations: 321.2 kB / 7.91 GB, free: 64.34 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.01665/14.17, allocations: 10.23 MB / 7.92 GB, free: 59.77 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/14.17, allocations: 11.11 kB / 7.92 GB, free: 59.77 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/14.18, allocations: 1.933 MB / 7.922 GB, free: 59.05 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/14.2, allocations: 13.49 MB / 7.935 GB, free: 57.1 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/14.2, allocations: 242 kB / 7.936 GB, free: 57.1 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/14.21, allocations: 481.5 kB / 7.936 GB, free: 57.09 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009284/14.21, allocations: 6.462 MB / 7.942 GB, free: 57.06 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009898/14.22, allocations: 7.356 MB / 7.95 GB, free: 56.08 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/14.23, allocations: 24.66 kB / 7.95 GB, free: 56.07 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/14.23, allocations: 11.28 kB / 7.95 GB, free: 56.07 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/14.23, allocations: 316.5 kB / 7.95 GB, free: 56.04 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/14.26, allocations: 42.02 MB / 7.991 GB, free: 33.71 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/14.27, allocations: 2.756 MB / 7.994 GB, free: 33.66 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/14.27, allocations: 2.612 MB / 7.996 GB, free: 33.61 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/14.28, allocations: 9.85 MB / 8.006 GB, free: 30.74 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003053/14.29, allocations: 2.519 MB / 8.008 GB, free: 30.59 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 4.949e-06/14.29, allocations: 0 / 8.008 GB, free: 30.59 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.02391/14.31, allocations: 11.84 MB / 8.02 GB, free: 27.92 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/14.31, allocations: 385.6 kB / 8.02 GB, free: 27.51 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/14.32, allocations: 6.837 MB / 8.027 GB, free: 26.93 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/14.32, allocations: 47.61 kB / 8.027 GB, free: 26.89 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/14.32, allocations: 3.067 MB / 8.03 GB, free: 25.37 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002667/14.32, allocations: 1.503 MB / 8.031 GB, free: 24.36 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/14.33, allocations: 0 / 8.031 GB, free: 24.36 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0001999/14.33, allocations: 0.5253 MB / 8.032 GB, free: 24.05 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/14.33, allocations: 1.954 MB / 8.034 GB, free: 24.03 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/14.33, allocations: 3.812 MB / 8.037 GB, free: 21.78 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/14.34, allocations: 2.804 MB / 8.04 GB, free: 21.56 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/14.34, allocations: 11.34 kB / 8.04 GB, free: 21.56 MB / 1.339 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.01158/14.35, allocations: 7.048 MB / 8.047 GB, free: 20.61 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.003544/14.35, allocations: 22.57 MB / 8.069 GB, free: 12.8 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/14.35, allocations: 39.06 kB / 8.069 GB, free: 12.8 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/14.35, allocations: 0.7138 MB / 8.07 GB, free: 12.74 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/14.36, allocations: 1.273 MB / 8.071 GB, free: 12.66 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/14.36, allocations: 7.274 MB / 8.078 GB, free: 7.16 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007499/14.37, allocations: 0.6465 MB / 8.079 GB, free: 7.027 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/14.37, allocations: 281.2 kB / 8.079 GB, free: 7.027 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/14.37, allocations: 3.469 kB / 8.079 GB, free: 7.027 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009678/14.38, allocations: 5.747 MB / 8.085 GB, free: 6.566 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/14.38, allocations: 39.89 kB / 8.085 GB, free: 6.566 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/14.38, allocations: 0.681 MB / 8.085 GB, free: 6.508 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/14.39, allocations: 1.224 MB / 8.087 GB, free: 6.426 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/14.4, allocations: 8.647 MB / 8.095 GB, free: 0.6875 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007899/14.41, allocations: 0.5961 MB / 8.096 GB, free: 0.5781 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006253/14.41, allocations: 262.2 kB / 8.096 GB, free: 0.5781 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 677 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00133/14.41, allocations: 278.8 kB / 8.096 GB, free: 364 kB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/14.41, allocations: 0.9125 MB / 8.097 GB, free: 15.87 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/14.42, allocations: 6.269 MB / 8.103 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/14.42, allocations: 54.56 kB / 8.103 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/14.42, allocations: 3.281 kB / 8.103 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00828/14.43, allocations: 4.501 MB / 8.108 GB, free: 14.93 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/14.46, allocations: 13.2 MB / 8.121 GB, free: 14.03 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/14.46, allocations: 9.25 kB / 8.121 GB, free: 14.03 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003769/14.46, allocations: 0.8743 MB / 8.121 GB, free: 13.98 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/14.46, allocations: 0.6696 MB / 8.122 GB, free: 13.89 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/14.46, allocations: 78.5 kB / 8.122 GB, free: 13.89 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/14.47, allocations: 12.88 MB / 8.135 GB, free: 2.93 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/14.47, allocations: 2.5 kB / 8.135 GB, free: 2.93 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01305/14.49, allocations: 8.448 MB / 8.143 GB, free: 1.695 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004477/14.49, allocations: 1.734 MB / 8.145 GB, free: 1.105 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/14.49, allocations: 24.77 kB / 8.145 GB, free: 1.105 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004946/14.5, allocations: 0.5978 MB / 8.145 GB, free: 1.012 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004249/14.5, allocations: 287.7 kB / 8.146 GB, free: 1 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004155/14.5, allocations: 209.1 kB / 8.146 GB, free: 1 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.006721/14.5, allocations: 5.052 MB / 8.151 GB, free: 0.7148 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.0216/14.53, allocations: 5.417 MB / 8.156 GB, free: 16 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (456): * Single equations (assignments): 433 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008024/14.53, allocations: 6.106 MB / 8.162 GB, free: 10.29 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.01393/14.55, allocations: 9.393 MB / 8.171 GB, free: 4.016 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/14.55, allocations: 16.27 kB / 8.171 GB, free: 4.004 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.004385/14.55, allocations: 3.315 MB / 8.174 GB, free: 1.148 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01566/14.57, allocations: 4.153 MB / 8.178 GB, free: 14.06 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/14.59, allocations: 15.65 MB / 8.194 GB, free: 15.94 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006465/14.6, allocations: 6.319 MB / 8.2 GB, free: 11.33 MB / 1.417 GB Notification: Performance of SimCode: time 7.12e-07/14.6, allocations: 0 / 8.2 GB, free: 11.33 MB / 1.417 GB Notification: Performance of Templates: time 0.7409/15.34, allocations: 221.1 MB / 8.416 GB, free: 202.9 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches