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.0008772/0.0008772, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 443.2 MB / 0.7181 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004001, allocations: 8.719 kB / 0.8801 GB, free: 41.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2926, allocations: 155.2 MB / 1.032 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05813/0.3507, allocations: 55.86 MB / 1.086 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3662, allocations: 10.41 MB / 1.096 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3684, allocations: 47.69 kB / 1.096 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.3704, allocations: 0.5634 MB / 1.097 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.3762, allocations: 1.82 MB / 1.099 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.3801, allocations: 1.193 MB / 1.1 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006398/0.3865, allocations: 4.707 MB / 1.104 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002077/0.3887, allocations: 1.021 MB / 1.105 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3913, allocations: 1.085 MB / 1.107 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3934, allocations: 0.9798 MB / 1.107 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.3939, allocations: 48 kB / 1.108 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.3971, allocations: 1.138 MB / 1.109 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.3976, allocations: 254.8 kB / 1.109 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3991, allocations: 0.7128 MB / 1.11 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.4019, allocations: 1.773 MB / 1.111 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4019, allocations: 0 / 1.111 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4019, allocations: 0 / 1.111 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.187e-05/0.402, allocations: 4 kB / 1.111 GB, free: 2.59 MB / 0.8575 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.003353/0.4054, allocations: 1.605 MB / 1.113 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4054, allocations: 11.97 kB / 1.113 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.406, allocations: 163.2 kB / 1.113 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.4081, allocations: 1.186 MB / 1.114 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.4082, allocations: 70 kB / 1.114 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4083, allocations: 88 kB / 1.114 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.4101, allocations: 0.9606 MB / 1.115 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.4101, allocations: 3.938 kB / 1.115 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.4102, allocations: 39.94 kB / 1.115 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.4102, allocations: 24 kB / 1.115 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.4115, allocations: 0.6714 MB / 1.116 GB, free: 13.61 MB / 0.8731 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.005174/0.4166, allocations: 4.069 MB / 1.12 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.4174, allocations: 403.5 kB / 1.12 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.4178, allocations: 270.2 kB / 1.121 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.4182, allocations: 0.503 MB / 1.121 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/0.4187, allocations: 354 kB / 1.121 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 6.001e-06/0.4188, allocations: 0 / 1.121 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54): time 0.003865/0.4226, allocations: 1.98 MB / 1.123 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.4227, allocations: 144.8 kB / 1.124 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4241, allocations: 1.094 MB / 1.125 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.4242, allocations: 41.7 kB / 1.125 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.4246, allocations: 0.5742 MB / 1.125 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.4248, allocations: 185.4 kB / 1.125 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.4249, allocations: 61.69 kB / 1.125 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.425, allocations: 334 kB / 1.126 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.4254, allocations: 217.5 kB / 1.126 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.4259, allocations: 432.6 kB / 1.126 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.4268, allocations: 0.6468 MB / 1.127 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4268, allocations: 4 kB / 1.127 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001407/0.4282, allocations: 0.8876 MB / 1.128 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.4284, allocations: 253.2 kB / 1.128 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4284, allocations: 4 kB / 1.128 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.4288, allocations: 113.6 kB / 1.128 GB, free: 336 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.4292, allocations: 123.8 kB / 1.128 GB, free: 212 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.431, allocations: 2.195 MB / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.432, allocations: 88.84 kB / 1.131 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.4321, allocations: 31.98 kB / 1.131 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.4321, allocations: 4 kB / 1.131 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.4334, allocations: 0.7779 MB / 1.131 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4334, allocations: 8.062 kB / 1.131 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.4337, allocations: 117.7 kB / 1.131 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.4341, allocations: 111.8 kB / 1.132 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.4358, allocations: 2.188 MB / 1.134 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/0.4367, allocations: 84.02 kB / 1.134 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.4368, allocations: 35.94 kB / 1.134 GB, free: 10.24 MB / 0.8887 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.0006372/0.4374, allocations: 434.4 kB / 1.134 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.4377, allocations: 122.5 kB / 1.134 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.4391, allocations: 0.8118 MB / 1.135 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4391, allocations: 8 kB / 1.135 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4391, allocations: 0 / 1.135 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009914/0.4401, allocations: 0.7034 MB / 1.136 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.443, allocations: 1.825 MB / 1.138 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.443, allocations: 3.984 kB / 1.138 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.4434, allocations: 84.05 kB / 1.138 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.4438, allocations: 113.6 kB / 1.138 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.4438, allocations: 11.98 kB / 1.138 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.4455, allocations: 2.191 MB / 1.14 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4455, allocations: 4.125 kB / 1.14 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4473, allocations: 1.139 MB / 1.141 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.4478, allocations: 287.4 kB / 1.141 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4481, allocations: 20 kB / 1.141 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.4489, allocations: 63.94 kB / 1.141 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.449, allocations: 35.89 kB / 1.141 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.4491, allocations: 27.97 kB / 1.142 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001201/0.4503, allocations: 0.817 MB / 1.142 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4503, allocations: 4 kB / 1.142 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001833/0.4521, allocations: 0.5897 MB / 1.143 GB, free: 0.5625 MB / 0.8887 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.0008493/0.453, allocations: 396 kB / 1.143 GB, free: 180 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.4552, allocations: 1.345 MB / 1.145 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4552, allocations: 4 kB / 1.145 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.4559, allocations: 474.1 kB / 1.145 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.4598, allocations: 0.7007 MB / 1.146 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.4634, allocations: 2.528 MB / 1.148 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4641, allocations: 1.121 MB / 1.149 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.4644, allocations: 99.41 kB / 1.149 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of SimCode: time 7.42e-07/0.4644, allocations: 0 / 1.149 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.04117/0.5056, allocations: 31.79 MB / 1.18 GB, free: 10.13 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches