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.0009763/0.0009764, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001203/0.001203, allocations: 168.7 kB / 15.95 MB, free: 204 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.65/1.65, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.961/2.961, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003942, allocations: 13.66 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4123, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05543/0.4677, allocations: 52.79 MB / 1.11 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.4842, allocations: 9.8 MB / 1.119 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003024/0.4873, allocations: 51.69 kB / 1.119 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.4897, allocations: 496.9 kB / 1.12 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.4964, allocations: 1.569 MB / 1.121 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.5008, allocations: 0.9658 MB / 1.122 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007215/0.508, allocations: 4.067 MB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.5102, allocations: 0.8953 MB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.5132, allocations: 1.054 MB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.515, allocations: 0.9178 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.5152, allocations: 51.94 kB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.518, allocations: 0.8653 MB / 1.13 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.5183, allocations: 242.9 kB / 1.13 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.519, allocations: 320.9 kB / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.5214, allocations: 1.711 MB / 1.132 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5215, allocations: 4 kB / 1.132 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5215, allocations: 0 / 1.132 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.5215, allocations: 0 / 1.132 GB, free: 9.344 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.003089/0.5246, allocations: 1.626 MB / 1.134 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5247, allocations: 8.031 kB / 1.134 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.5251, allocations: 158.2 kB / 1.134 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.5269, allocations: 1.139 MB / 1.135 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.527, allocations: 70 kB / 1.135 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5272, allocations: 88 kB / 1.135 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.5288, allocations: 0.9565 MB / 1.136 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5289, allocations: 11.91 kB / 1.136 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.529, allocations: 36 kB / 1.136 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.529, allocations: 24 kB / 1.136 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5301, allocations: 0.6636 MB / 1.137 GB, free: 4.402 MB / 0.8887 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.00503/0.5352, allocations: 4.065 MB / 1.141 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.5359, allocations: 406.2 kB / 1.141 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.5363, allocations: 263.2 kB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.5368, allocations: 0.4991 MB / 1.142 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/0.5373, allocations: 354 kB / 1.142 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.895e-06/0.5374, allocations: 0 / 1.142 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54): time 0.003849/0.5412, allocations: 1.957 MB / 1.144 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/0.5413, allocations: 141 kB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.5427, allocations: 1.082 MB / 1.145 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.5427, allocations: 41.7 kB / 1.145 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.5433, allocations: 0.5858 MB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.5434, allocations: 181.4 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.5435, allocations: 16 kB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5436, allocations: 337.9 kB / 1.146 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.544, allocations: 205.6 kB / 1.147 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.5445, allocations: 432.6 kB / 1.147 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.5449, allocations: 291.8 kB / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5449, allocations: 0 / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001335/0.5463, allocations: 0.8793 MB / 1.148 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.5465, allocations: 257.5 kB / 1.148 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5465, allocations: 8 kB / 1.148 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.5469, allocations: 113.6 kB / 1.148 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.5473, allocations: 115.8 kB / 1.149 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.5492, allocations: 2.2 MB / 1.151 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.5502, allocations: 76.06 kB / 1.151 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.5502, allocations: 35.97 kB / 1.151 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.5502, allocations: 4 kB / 1.151 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.5515, allocations: 0.7696 MB / 1.152 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5515, allocations: 4 kB / 1.152 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.5519, allocations: 114.2 kB / 1.152 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.5523, allocations: 119.8 kB / 1.152 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.5541, allocations: 2.188 MB / 1.154 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/0.5551, allocations: 75.94 kB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.5551, allocations: 39.98 kB / 1.154 GB, free: 1.582 MB / 0.9044 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.0007494/0.5559, allocations: 434.5 kB / 1.154 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5561, allocations: 122.5 kB / 1.155 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.5574, allocations: 0.8078 MB / 1.155 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5574, allocations: 8 kB / 1.155 GB, free: 184 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5574, allocations: 4.125 kB / 1.155 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.5585, allocations: 0.7035 MB / 1.156 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.5611, allocations: 1.798 MB / 1.158 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5611, allocations: 3.984 kB / 1.158 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.5614, allocations: 71.89 kB / 1.158 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.5618, allocations: 109.8 kB / 1.158 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.5618, allocations: 19.98 kB / 1.158 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.5636, allocations: 2.188 MB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5636, allocations: 3.938 kB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.5654, allocations: 1.115 MB / 1.161 GB, free: 9.836 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/0.566, allocations: 279.4 kB / 1.162 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.5662, allocations: 12.16 kB / 1.162 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.5669, allocations: 75.94 kB / 1.162 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.567, allocations: 35.94 kB / 1.162 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.5671, allocations: 31.97 kB / 1.162 GB, free: 9.391 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001201/0.5683, allocations: 0.7527 MB / 1.162 GB, free: 8.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5683, allocations: 0 / 1.162 GB, free: 8.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002035/0.5703, allocations: 0.5897 MB / 1.163 GB, free: 8.043 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 (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.0008336/0.5712, allocations: 389.3 kB / 1.163 GB, free: 7.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.5734, allocations: 1.333 MB / 1.165 GB, free: 6.277 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5734, allocations: 0 / 1.165 GB, free: 6.277 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.5741, allocations: 475.3 kB / 1.165 GB, free: 5.789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.5765, allocations: 0.5774 MB / 1.166 GB, free: 5.223 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.58, allocations: 2.41 MB / 1.168 GB, free: 2.766 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/0.5808, allocations: 1.128 MB / 1.169 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009825/0.5818, allocations: 221.6 kB / 1.169 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.582, allocations: 87.41 kB / 1.169 GB, free: 1.305 MB / 0.92 GB Notification: Performance of SimCode: time 1.993e-06/0.582, allocations: 0 / 1.169 GB, free: 1.305 MB / 0.92 GB Notification: Performance of Templates: time 0.05058/0.6326, allocations: 23.14 MB / 1.192 GB, free: 10.47 MB / 0.9512 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