Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001137/0.001137, allocations: 178.9 kB / 498.1 MB, free: 5.754 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.515/1.515, allocations: 223.2 MB / 0.7949 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.9 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 10.78 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.351, allocations: 458 MB / 1.67 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.351, allocations: 96.33 kB / 1.67 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 9.063/10.41, allocations: 2.394 GB / 4.065 GB, free: 69.33 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.362e-06/10.41, allocations: 0 / 4.065 GB, free: 69.33 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001079/10.42, allocations: 131.9 kB / 4.065 GB, free: 69.2 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 676 * Number of variables: 676 Notification: Performance of Generate backend data structure: time 0.02217/10.44, allocations: 5.92 MB / 4.07 GB, free: 63.21 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/10.44, allocations: 8.031 kB / 4.07 GB, free: 63.2 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006971/10.44, allocations: 1.09 MB / 4.072 GB, free: 62.1 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/10.47, allocations: 5.81 MB / 4.077 GB, free: 56.22 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/10.47, allocations: 225.2 kB / 4.077 GB, free: 56 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/10.47, allocations: 303.7 kB / 4.078 GB, free: 55.71 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009456/10.48, allocations: 3.135 MB / 4.081 GB, free: 52.44 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/10.48, allocations: 4 kB / 4.081 GB, free: 52.43 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008624/10.48, allocations: 112 kB / 4.081 GB, free: 52.32 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/10.48, allocations: 105.1 kB / 4.081 GB, free: 52.22 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006793/10.48, allocations: 2.55 MB / 4.083 GB, free: 49.66 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/10.51, allocations: 17.69 MB / 4.101 GB, free: 30.4 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/10.52, allocations: 1.749 MB / 4.102 GB, free: 28.64 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.009524/10.53, allocations: 3.979 MB / 4.106 GB, free: 24.46 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/10.53, allocations: 51.88 kB / 4.106 GB, free: 24.41 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004451/10.53, allocations: 1.095 MB / 4.107 GB, free: 23.31 MB / 1.229 GB Notification: Performance of pre-optimization done (n=150): time 1.018e-05/10.53, allocations: 0 / 4.107 GB, free: 23.31 MB / 1.229 GB Notification: Performance of matching and sorting (n=155): time 0.02761/10.56, allocations: 8.055 MB / 4.115 GB, free: 15.14 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/10.56, allocations: 116.1 kB / 4.115 GB, free: 15.01 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/10.57, allocations: 3.334 MB / 4.119 GB, free: 11.69 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/10.57, allocations: 65.7 kB / 4.119 GB, free: 11.62 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/10.57, allocations: 2.201 MB / 4.121 GB, free: 9.398 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/10.57, allocations: 0.5391 MB / 4.121 GB, free: 8.852 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/10.57, allocations: 44 kB / 4.121 GB, free: 8.809 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0001256/10.57, allocations: 386.1 kB / 4.122 GB, free: 8.426 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/10.57, allocations: 0.8279 MB / 4.123 GB, free: 7.594 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/10.57, allocations: 1.725 MB / 4.124 GB, free: 5.449 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/10.58, allocations: 1.059 MB / 4.125 GB, free: 4.395 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/10.58, allocations: 4 kB / 4.125 GB, free: 4.391 MB / 1.229 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.008417/10.58, allocations: 3.376 MB / 4.129 GB, free: 0.9961 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.003019/10.59, allocations: 8.818 MB / 4.137 GB, free: 7.402 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/10.59, allocations: 20 kB / 4.137 GB, free: 7.383 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004667/10.59, allocations: 0.9551 MB / 4.138 GB, free: 6.426 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/10.59, allocations: 499.2 kB / 4.139 GB, free: 5.938 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/10.6, allocations: 3.474 MB / 4.142 GB, free: 2.281 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/10.6, allocations: 335.6 kB / 4.142 GB, free: 1.949 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005527/10.6, allocations: 127.8 kB / 4.143 GB, free: 1.824 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/10.6, allocations: 4 kB / 4.143 GB, free: 1.82 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008161/10.61, allocations: 2.872 MB / 4.145 GB, free: 14.94 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-05/10.61, allocations: 20 kB / 4.145 GB, free: 14.92 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004753/10.62, allocations: 0.9319 MB / 4.146 GB, free: 13.98 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/10.62, allocations: 479.3 kB / 4.147 GB, free: 13.52 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/10.63, allocations: 4.781 MB / 4.151 GB, free: 8.426 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/10.63, allocations: 315.6 kB / 4.152 GB, free: 8.117 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006799/10.63, allocations: 119.9 kB / 4.152 GB, free: 8 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {8 19,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.003656/10.64, allocations: 0.864 MB / 4.153 GB, free: 7.125 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/10.64, allocations: 446.3 kB / 4.153 GB, free: 6.684 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/10.65, allocations: 2.99 MB / 4.156 GB, free: 3.68 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/10.65, allocations: 16 kB / 4.156 GB, free: 3.664 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/10.65, allocations: 7.938 kB / 4.156 GB, free: 3.656 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005511/10.65, allocations: 2.247 MB / 4.158 GB, free: 1.375 MB / 1.26 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8969/11.55, allocations: 6.074 MB / 4.164 GB, free: 122.1 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/11.55, allocations: 1.734 kB / 4.164 GB, free: 122.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/11.55, allocations: 322.6 kB / 4.164 GB, free: 122.1 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/11.56, allocations: 0.5834 MB / 4.165 GB, free: 122.1 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/11.56, allocations: 51.48 kB / 4.165 GB, free: 122.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/11.56, allocations: 3.227 MB / 4.168 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/11.56, allocations: 1 kB / 4.168 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/11.57, allocations: 3.938 MB / 4.172 GB, free: 119.4 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/11.57, allocations: 0.7125 MB / 4.173 GB, free: 119.4 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/11.58, allocations: 39.33 kB / 4.173 GB, free: 119.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004302/11.58, allocations: 269.7 kB / 4.173 GB, free: 119.4 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/11.58, allocations: 115.2 kB / 4.173 GB, free: 119.4 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/11.58, allocations: 73.23 kB / 4.173 GB, free: 119.4 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.007199/11.59, allocations: 2.544 MB / 4.176 GB, free: 119.2 MB / 1.26 GB Notification: Performance of sort global known variables: time 4.71e-07/11.59, allocations: 0 / 4.176 GB, free: 119.2 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01363/11.6, allocations: 2.098 MB / 4.178 GB, free: 119.2 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.s[1],val.filter.s[2],pumLoa.filter.s[1],pumLoa.filter.s[2],pumBoi.filter.s[1],pumBoi.filter.s[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {7 19,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005679/11.61, allocations: 2.62 MB / 4.18 GB, free: 118.4 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01048/11.62, allocations: 4.041 MB / 4.184 GB, free: 118 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/11.62, allocations: 3.719 kB / 4.184 GB, free: 118 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/11.62, allocations: 1.256 MB / 4.186 GB, free: 117.8 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/11.63, allocations: 2.037 MB / 4.188 GB, free: 117.8 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/11.65, allocations: 8.745 MB / 4.196 GB, free: 113.9 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/11.66, allocations: 2.506 MB / 4.199 GB, free: 113.2 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.007007/11.67, allocations: 0.9313 MB / 4.199 GB, free: 113.1 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/11.67, allocations: 325.2 kB / 4.2 GB, free: 113.1 MB / 1.26 GB Notification: Performance of SimCode: time 1.503e-06/11.67, allocations: 0 / 4.2 GB, free: 113.1 MB / 1.26 GB Notification: Performance of Templates: time 0.1631/11.83, allocations: 94.64 MB / 4.292 GB, free: 108.6 MB / 1.26 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches