Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001049/0.001049, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.654/1.654, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009505/0.0009506, allocations: 98.45 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2772, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.289, allocations: 419.7 MB / 1.633 GB, free: 8.457 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.289, allocations: 94.52 kB / 1.633 GB, free: 8.406 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/2.924, allocations: 463 MB / 2.085 GB, free: 251.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/2.924, allocations: 4 kB / 2.085 GB, free: 251.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001015/2.924, allocations: 35.98 kB / 2.085 GB, free: 251.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003056/2.927, allocations: 1.747 MB / 2.087 GB, free: 249.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/2.927, allocations: 12.03 kB / 2.087 GB, free: 249.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/2.928, allocations: 166.1 kB / 2.087 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/2.93, allocations: 1.414 MB / 2.088 GB, free: 248 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/2.93, allocations: 70.52 kB / 2.088 GB, free: 247.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/2.93, allocations: 88 kB / 2.088 GB, free: 247.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/2.932, allocations: 0.9487 MB / 2.089 GB, free: 246.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/2.932, allocations: 8 kB / 2.089 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/2.932, allocations: 35.98 kB / 2.089 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/2.932, allocations: 34 kB / 2.089 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/2.933, allocations: 0.6519 MB / 2.09 GB, free: 246.1 MB / 1.167 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.00418/2.937, allocations: 4.129 MB / 2.094 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/2.938, allocations: 0.5049 MB / 2.095 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/2.938, allocations: 0.4986 MB / 2.095 GB, free: 240.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/2.939, allocations: 370.7 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/2.939, allocations: 0 / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.003492/2.942, allocations: 2.081 MB / 2.097 GB, free: 238.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/2.942, allocations: 136.9 kB / 2.098 GB, free: 237.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/2.943, allocations: 0.9814 MB / 2.099 GB, free: 236.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/2.943, allocations: 41.7 kB / 2.099 GB, free: 236.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/2.944, allocations: 0.5894 MB / 2.099 GB, free: 236.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/2.944, allocations: 166 kB / 2.099 GB, free: 236.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/2.944, allocations: 12 kB / 2.099 GB, free: 236.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/2.944, allocations: 337.9 kB / 2.1 GB, free: 235.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/2.944, allocations: 209.2 kB / 2.1 GB, free: 235.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/2.944, allocations: 431.7 kB / 2.1 GB, free: 235 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/2.945, allocations: 295.8 kB / 2.101 GB, free: 234.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/2.945, allocations: 0 / 2.101 GB, free: 234.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001158/2.946, allocations: 0.8871 MB / 2.101 GB, free: 233.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/2.946, allocations: 1.529 MB / 2.103 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/2.946, allocations: 7.953 kB / 2.103 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/2.947, allocations: 121.6 kB / 2.103 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/2.947, allocations: 107.8 kB / 2.103 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/2.948, allocations: 2.247 MB / 2.105 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/2.949, allocations: 91.72 kB / 2.105 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/2.95, allocations: 32 kB / 2.105 GB, free: 229.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/2.95, allocations: 4.625 kB / 2.105 GB, free: 229.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/2.951, allocations: 0.7818 MB / 2.106 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/2.951, allocations: 4 kB / 2.106 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/2.951, allocations: 113.6 kB / 2.106 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/2.951, allocations: 103.8 kB / 2.106 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/2.953, allocations: 2.231 MB / 2.109 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/2.953, allocations: 75.84 kB / 2.109 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/2.953, allocations: 39.94 kB / 2.109 GB, free: 225.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007198/2.954, allocations: 419.3 kB / 2.109 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/2.954, allocations: 118.6 kB / 2.109 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/2.955, allocations: 0.8229 MB / 2.11 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/2.955, allocations: 4 kB / 2.11 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/2.955, allocations: 3.938 kB / 2.11 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008381/2.956, allocations: 0.7511 MB / 2.111 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/2.959, allocations: 1.888 MB / 2.113 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.959, allocations: 4 kB / 2.113 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/2.959, allocations: 71.89 kB / 2.113 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/2.959, allocations: 113.7 kB / 2.113 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/2.959, allocations: 19.98 kB / 2.113 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/2.961, allocations: 2.23 MB / 2.115 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.961, allocations: 128 / 2.115 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/2.962, allocations: 1.254 MB / 2.116 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/2.963, allocations: 283.5 kB / 2.117 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/2.963, allocations: 8 kB / 2.117 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/2.963, allocations: 51.88 kB / 2.117 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/2.963, allocations: 35.91 kB / 2.117 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/2.963, allocations: 23.98 kB / 2.117 GB, free: 217.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008623/2.964, allocations: 0.7636 MB / 2.117 GB, free: 216.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/2.964, allocations: 0 / 2.117 GB, free: 216.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001899/2.966, allocations: 0.6365 MB / 2.118 GB, free: 216 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009847/2.967, allocations: 0.5933 MB / 2.119 GB, free: 215.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001728/2.969, allocations: 1.313 MB / 2.12 GB, free: 214.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.969, allocations: 4 kB / 2.12 GB, free: 214.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/2.969, allocations: 486.2 kB / 2.12 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/2.972, allocations: 0.552 MB / 2.121 GB, free: 213 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/2.975, allocations: 2.419 MB / 2.123 GB, free: 210.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/2.975, allocations: 1.151 MB / 2.124 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008858/2.976, allocations: 229.3 kB / 2.125 GB, free: 209.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/2.976, allocations: 91.36 kB / 2.125 GB, free: 209.1 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/2.976, allocations: 0 / 2.125 GB, free: 209.1 MB / 1.167 GB Notification: Performance of Templates: time 0.03611/3.012, allocations: 25.25 MB / 2.149 GB, free: 184.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches