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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008302/0.0008299, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005729/0.005729, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 9.25 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05715/0.4068, allocations: 55.86 MB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.4246, allocations: 10.43 MB / 1.123 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.4269, allocations: 47.69 kB / 1.123 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.4287, allocations: 0.5595 MB / 1.124 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.4355, allocations: 1.824 MB / 1.126 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.4395, allocations: 1.182 MB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006672/0.4462, allocations: 4.715 MB / 1.132 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.4483, allocations: 1.017 MB / 1.133 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.4511, allocations: 1.085 MB / 1.134 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.4529, allocations: 0.9799 MB / 1.135 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.4531, allocations: 52 kB / 1.135 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.4557, allocations: 1.13 MB / 1.136 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.4561, allocations: 274.7 kB / 1.136 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009692/0.457, allocations: 0.705 MB / 1.137 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.4603, allocations: 2.27 MB / 1.139 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4603, allocations: 7.938 kB / 1.139 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4603, allocations: 0 / 1.139 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.4604, allocations: 0 / 1.139 GB, free: 3.027 MB / 0.8887 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.002806/0.4632, allocations: 1.605 MB / 1.14 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4632, allocations: 12.03 kB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.4636, allocations: 159.2 kB / 1.141 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.4655, allocations: 1.178 MB / 1.142 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.4656, allocations: 70 kB / 1.142 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4657, allocations: 95.98 kB / 1.142 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.4674, allocations: 0.9605 MB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.4674, allocations: 0 / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.4675, allocations: 44 kB / 1.143 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.4675, allocations: 20 kB / 1.143 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4687, allocations: 0.6714 MB / 1.144 GB, free: 14.05 MB / 0.9044 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.005219/0.474, allocations: 4.081 MB / 1.148 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.4747, allocations: 396.3 kB / 1.148 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.4751, allocations: 266.5 kB / 1.148 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.4757, allocations: 0.4991 MB / 1.149 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.4763, allocations: 361.9 kB / 1.149 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.514e-06/0.4763, allocations: 0 / 1.149 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54): time 0.004291/0.4806, allocations: 1.969 MB / 1.151 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/0.4807, allocations: 144.9 kB / 1.151 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.4822, allocations: 1.094 MB / 1.152 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4822, allocations: 37.7 kB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.4828, allocations: 0.5858 MB / 1.153 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.483, allocations: 177.4 kB / 1.153 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.4831, allocations: 65.69 kB / 1.153 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4832, allocations: 330 kB / 1.153 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.4837, allocations: 217.5 kB / 1.153 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.4843, allocations: 437.1 kB / 1.154 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.4852, allocations: 0.6468 MB / 1.155 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4852, allocations: 4 kB / 1.155 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00155/0.4868, allocations: 0.8872 MB / 1.155 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.487, allocations: 249.5 kB / 1.156 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.487, allocations: 4 kB / 1.156 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.4874, allocations: 113.6 kB / 1.156 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.4879, allocations: 123.8 kB / 1.156 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.4899, allocations: 2.203 MB / 1.158 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.491, allocations: 75.89 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.4911, allocations: 35.98 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.4911, allocations: 4 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/0.4924, allocations: 0.7774 MB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4924, allocations: 4 kB / 1.159 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.4927, allocations: 114.2 kB / 1.159 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4931, allocations: 111.8 kB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.4948, allocations: 2.2 MB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4959, allocations: 82.67 kB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.496, allocations: 39.98 kB / 1.161 GB, free: 10.68 MB / 0.92 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 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008503/0.4968, allocations: 427.9 kB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.497, allocations: 126.5 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.4984, allocations: 0.8116 MB / 1.163 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4984, allocations: 4 kB / 1.163 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4984, allocations: 4 kB / 1.163 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.4995, allocations: 0.7073 MB / 1.163 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.5023, allocations: 1.829 MB / 1.165 GB, free: 6.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5023, allocations: 4 kB / 1.165 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.5026, allocations: 71.89 kB / 1.165 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000339/0.503, allocations: 113.8 kB / 1.165 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.503, allocations: 19.98 kB / 1.165 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.505, allocations: 2.188 MB / 1.168 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.505, allocations: 4.031 kB / 1.168 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5067, allocations: 1.128 MB / 1.169 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.5072, allocations: 287.4 kB / 1.169 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.5073, allocations: 16.06 kB / 1.169 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.5081, allocations: 67.81 kB / 1.169 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.5082, allocations: 39.92 kB / 1.169 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.5083, allocations: 31.97 kB / 1.169 GB, free: 2.434 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001168/0.5094, allocations: 0.813 MB / 1.17 GB, free: 1.617 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5095, allocations: 0 / 1.17 GB, free: 1.617 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001867/0.5113, allocations: 0.5897 MB / 1.17 GB, free: 1.027 MB / 0.92 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00089/0.5122, allocations: 400.8 kB / 1.171 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.5145, allocations: 1.341 MB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.5145, allocations: 4.5 kB / 1.172 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.5151, allocations: 474.5 kB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/0.5189, allocations: 0.7 MB / 1.173 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.5226, allocations: 2.49 MB / 1.176 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.5234, allocations: 1.133 MB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009846/0.5244, allocations: 234.3 kB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.5246, allocations: 95.41 kB / 1.177 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/0.5246, allocations: 4 kB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of Templates: time 0.04906/0.5737, allocations: 26.72 MB / 1.203 GB, free: 15.62 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches