Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.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.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System5") translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System5") [: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.735/1.735, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009366/0.0009366, allocations: 177.2 kB / 487 MB, free: 5.375 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.084/1.084, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.0007905/0.0007905, allocations: 94.52 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.19e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.929/3.095, allocations: 2.224 GB / 3.429 GB, free: 49.18 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/3.095, allocations: 89.14 kB / 3.429 GB, free: 49.13 MB / 1.151 GB Notification: Performance of FrontEnd: time 11.11/14.2, allocations: 4.413 GB / 7.842 GB, free: 63.84 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.001286/14.2, allocations: 300 kB / 7.843 GB, free: 63.79 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: 1718 * Number of variables: 1718 Notification: Performance of Generate backend data structure: time 0.02098/14.22, allocations: 9.425 MB / 7.852 GB, free: 59.75 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/14.22, allocations: 9.75 kB / 7.852 GB, free: 59.75 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008933/14.23, allocations: 1.741 MB / 7.854 GB, free: 59.12 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/14.26, allocations: 13.03 MB / 7.866 GB, free: 57.49 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/14.26, allocations: 218.4 kB / 7.867 GB, free: 57.49 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/14.26, allocations: 435.6 kB / 7.867 GB, free: 57.49 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009747/14.27, allocations: 5.513 MB / 7.872 GB, free: 57.46 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/14.28, allocations: 6.688 MB / 7.879 GB, free: 56.61 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/14.28, allocations: 18.03 kB / 7.879 GB, free: 56.61 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006028/14.28, allocations: 15.97 kB / 7.879 GB, free: 56.61 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/14.28, allocations: 285.8 kB / 7.879 GB, free: 56.59 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04165/14.32, allocations: 39.72 MB / 7.918 GB, free: 35.37 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/14.33, allocations: 2.311 MB / 7.92 GB, free: 35.33 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/14.33, allocations: 2.39 MB / 7.923 GB, free: 35.29 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/14.35, allocations: 9.06 MB / 7.931 GB, free: 32.47 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00304/14.35, allocations: 2.197 MB / 7.934 GB, free: 32.33 MB / 1.339 GB Notification: Performance of pre-optimization done (n=383): time 6.903e-06/14.35, allocations: 4.406 kB / 7.934 GB, free: 32.33 MB / 1.339 GB Notification: Performance of matching and sorting (n=388): time 0.02701/14.38, allocations: 10.65 MB / 7.944 GB, free: 29.86 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/14.38, allocations: 199.9 kB / 7.944 GB, free: 29.67 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/14.39, allocations: 6.424 MB / 7.95 GB, free: 29.16 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0008303/14.39, allocations: 40.17 kB / 7.951 GB, free: 29.13 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/14.39, allocations: 2.856 MB / 7.953 GB, free: 27.71 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002849/14.4, allocations: 1.298 MB / 7.955 GB, free: 26.85 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/14.4, allocations: 0.5469 kB / 7.955 GB, free: 26.85 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.000202/14.4, allocations: 0.5013 MB / 7.955 GB, free: 26.54 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/14.4, allocations: 1.782 MB / 7.957 GB, free: 26.52 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/14.4, allocations: 3.543 MB / 7.96 GB, free: 24.43 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/14.41, allocations: 2.579 MB / 7.963 GB, free: 24.34 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/14.41, allocations: 13.77 kB / 7.963 GB, free: 24.34 MB / 1.339 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.01131/14.42, allocations: 6.47 MB / 7.969 GB, free: 23.69 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.003574/14.42, allocations: 21.84 MB / 7.99 GB, free: 16.91 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/14.42, allocations: 39.09 kB / 7.991 GB, free: 16.91 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/14.42, allocations: 0.6407 MB / 7.991 GB, free: 16.87 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/14.43, allocations: 1.145 MB / 7.992 GB, free: 16.79 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/14.43, allocations: 5.764 MB / 7.998 GB, free: 12.54 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/14.44, allocations: 0.611 MB / 7.998 GB, free: 12.41 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/14.44, allocations: 251.4 kB / 7.999 GB, free: 12.41 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/14.44, allocations: 3.719 kB / 7.999 GB, free: 12.41 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008589/14.45, allocations: 5.225 MB / 8.004 GB, free: 12.04 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/14.45, allocations: 38.25 kB / 8.004 GB, free: 12.04 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/14.45, allocations: 0.6054 MB / 8.004 GB, free: 11.99 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/14.45, allocations: 1.095 MB / 8.006 GB, free: 11.92 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/14.46, allocations: 7.142 MB / 8.012 GB, free: 23.43 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00682/14.47, allocations: 0.5594 MB / 8.013 GB, free: 23.32 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/14.47, allocations: 243.8 kB / 8.013 GB, free: 23.32 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (614): * Single equations (assignments): 607 * 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: 4 * 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: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.001054/14.47, allocations: 252 kB / 8.014 GB, free: 23.12 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/14.47, allocations: 0.8496 MB / 8.014 GB, free: 22.67 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009592/14.48, allocations: 5.428 MB / 8.02 GB, free: 22.26 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/14.48, allocations: 43.06 kB / 8.02 GB, free: 22.26 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/14.48, allocations: 5.969 kB / 8.02 GB, free: 22.25 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006013/14.49, allocations: 3.933 MB / 8.024 GB, free: 22.01 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/14.51, allocations: 11.79 MB / 8.035 GB, free: 21.33 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/14.51, allocations: 5.281 kB / 8.035 GB, free: 21.33 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/14.51, allocations: 0.7395 MB / 8.036 GB, free: 21.29 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/14.51, allocations: 0.5845 MB / 8.036 GB, free: 21.21 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/14.51, allocations: 61.59 kB / 8.036 GB, free: 21.21 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006875/14.52, allocations: 11.36 MB / 8.047 GB, free: 11.5 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/14.52, allocations: 2.125 kB / 8.047 GB, free: 11.5 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01051/14.53, allocations: 7.433 MB / 8.055 GB, free: 10.5 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003939/14.53, allocations: 1.561 MB / 8.056 GB, free: 9.945 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/14.53, allocations: 22.22 kB / 8.056 GB, free: 9.945 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00462/14.54, allocations: 0.5443 MB / 8.057 GB, free: 9.855 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/14.54, allocations: 230.5 kB / 8.057 GB, free: 9.848 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003255/14.54, allocations: 185.7 kB / 8.057 GB, free: 9.848 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.006064/14.55, allocations: 4.74 MB / 8.062 GB, free: 9.594 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01478/14.56, allocations: 4.49 MB / 8.066 GB, free: 9.391 MB / 1.37 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 356 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006535/14.57, allocations: 5.602 MB / 8.072 GB, free: 6.605 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01141/14.58, allocations: 8.332 MB / 8.08 GB, free: 5.68 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/14.58, allocations: 6.156 kB / 8.08 GB, free: 5.676 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.003288/14.58, allocations: 2.882 MB / 8.083 GB, free: 4.875 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01631/14.6, allocations: 3.953 MB / 8.087 GB, free: 4.613 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/14.62, allocations: 14.2 MB / 8.1 GB, free: 0.7617 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006925/14.63, allocations: 5.889 MB / 8.106 GB, free: 15.72 MB / 1.385 GB Notification: Performance of SimCode: time 1.082e-06/14.63, allocations: 0 / 8.106 GB, free: 15.72 MB / 1.385 GB Notification: Performance of Templates: time 0.7545/15.38, allocations: 203.2 MB / 8.305 GB, free: 215 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System5.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches