Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003421, allocations: 12 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8479, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04633/0.8943, allocations: 47.9 MB / 1.068 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.9085, allocations: 9.065 MB / 1.076 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.9103, allocations: 43.75 kB / 1.076 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.9122, allocations: 0.6296 MB / 1.077 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.9185, allocations: 1.888 MB / 1.079 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.9238, allocations: 1.367 MB / 1.08 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005456/0.9293, allocations: 2.178 MB / 1.082 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.9311, allocations: 0.9189 MB / 1.083 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.9336, allocations: 0.9536 MB / 1.084 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.9349, allocations: 0.6649 MB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.9351, allocations: 48 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.9373, allocations: 0.7568 MB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.9376, allocations: 243 kB / 1.086 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.938, allocations: 316.9 kB / 1.086 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.94, allocations: 1.662 MB / 1.088 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.94, allocations: 0 / 1.088 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.194e-06/0.94, allocations: 0 / 1.088 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.9401, allocations: 0 / 1.088 GB, free: 12.29 MB / 0.8419 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.002679/0.9427, allocations: 1.597 MB / 1.089 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.9428, allocations: 11.98 kB / 1.089 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.9432, allocations: 170.1 kB / 1.09 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.9448, allocations: 1.073 MB / 1.091 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.9449, allocations: 66 kB / 1.091 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.945, allocations: 92 kB / 1.091 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.9465, allocations: 0.9449 MB / 1.092 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.9465, allocations: 3.953 kB / 1.092 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.9466, allocations: 40 kB / 1.092 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.9467, allocations: 20 kB / 1.092 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.9478, allocations: 0.6714 MB / 1.092 GB, free: 7.441 MB / 0.8419 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.005113/0.9529, allocations: 4.1 MB / 1.096 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.9538, allocations: 453.3 kB / 1.097 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.9542, allocations: 0.4991 MB / 1.097 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.9548, allocations: 350 kB / 1.098 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=52): time 2.244e-06/0.9548, allocations: 4 kB / 1.098 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=54): time 0.003879/0.9587, allocations: 2.033 MB / 1.1 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.9588, allocations: 137 kB / 1.1 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.9602, allocations: 1.129 MB / 1.101 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.9603, allocations: 41.7 kB / 1.101 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.9608, allocations: 0.5781 MB / 1.101 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.961, allocations: 181.4 kB / 1.102 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.961, allocations: 16 kB / 1.102 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9611, allocations: 333.9 kB / 1.102 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.9615, allocations: 209.6 kB / 1.102 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.962, allocations: 424.9 kB / 1.103 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.9624, allocations: 303.7 kB / 1.103 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9624, allocations: 0 / 1.103 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001392/0.9638, allocations: 0.8754 MB / 1.104 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006443/0.9645, allocations: 1.714 MB / 1.105 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.9645, allocations: 4 kB / 1.105 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.9649, allocations: 121.6 kB / 1.106 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.9654, allocations: 119.8 kB / 1.106 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.9673, allocations: 2.199 MB / 1.108 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.9684, allocations: 91.95 kB / 1.108 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/0.9685, allocations: 28 kB / 1.108 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.9686, allocations: 4.438 kB / 1.108 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.9698, allocations: 0.7698 MB / 1.109 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9698, allocations: 4 kB / 1.109 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.9701, allocations: 113.8 kB / 1.109 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.9705, allocations: 123.8 kB / 1.109 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.9721, allocations: 2.204 MB / 1.111 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.9731, allocations: 81.55 kB / 1.111 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.9732, allocations: 32 kB / 1.111 GB, free: 3.113 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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.0006246/0.9738, allocations: 434.5 kB / 1.112 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.974, allocations: 122.5 kB / 1.112 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.9752, allocations: 0.8078 MB / 1.112 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.9752, allocations: 4 kB / 1.112 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9752, allocations: 4 kB / 1.112 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009116/0.9762, allocations: 0.7074 MB / 1.113 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.9788, allocations: 1.814 MB / 1.115 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.9788, allocations: 0 / 1.115 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.9792, allocations: 75.89 kB / 1.115 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.9795, allocations: 109.7 kB / 1.115 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.9796, allocations: 16.14 kB / 1.115 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.9814, allocations: 2.2 MB / 1.117 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9814, allocations: 0 / 1.117 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.9832, allocations: 1.189 MB / 1.118 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.9838, allocations: 287.5 kB / 1.119 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9839, allocations: 19.98 kB / 1.119 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.9846, allocations: 59.81 kB / 1.119 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.9847, allocations: 39.91 kB / 1.119 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.9848, allocations: 23.98 kB / 1.119 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00106/0.9858, allocations: 0.7955 MB / 1.12 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9858, allocations: 0 / 1.12 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001883/0.9877, allocations: 0.5975 MB / 1.12 GB, free: 9.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (38): * Single equations (assignments): 33 * 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.0007329/0.9885, allocations: 404.4 kB / 1.121 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.9905, allocations: 1.341 MB / 1.122 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9906, allocations: 0 / 1.122 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.9912, allocations: 470.2 kB / 1.122 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.9936, allocations: 0.5678 MB / 1.123 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.9971, allocations: 2.397 MB / 1.125 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.9978, allocations: 1.152 MB / 1.126 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008499/0.9987, allocations: 229.4 kB / 1.127 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.9989, allocations: 87.42 kB / 1.127 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/0.9989, allocations: 0 / 1.127 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of Templates: time 0.04128/1.04, allocations: 23.79 MB / 1.15 GB, free: 11.16 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches