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.001487/0.001487, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001761/0.001761, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8724, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06521/0.9376, allocations: 57.27 MB / 1.264 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.954, allocations: 10.47 MB / 1.275 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.9569, allocations: 55.69 kB / 1.275 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.9593, allocations: 0.6831 MB / 1.275 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.9657, allocations: 1.979 MB / 1.277 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.9697, allocations: 1.319 MB / 1.278 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005774/0.9755, allocations: 3.676 MB / 1.282 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.9777, allocations: 1.24 MB / 1.283 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.9811, allocations: 1.349 MB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.9833, allocations: 1.027 MB / 1.286 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.9837, allocations: 128 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.9869, allocations: 1.24 MB / 1.287 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.9875, allocations: 346.7 kB / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.9891, allocations: 0.7776 MB / 1.288 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.9937, allocations: 2.401 MB / 1.29 GB, free: 9.406 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9938, allocations: 0 / 1.29 GB, free: 9.406 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9938, allocations: 0 / 1.29 GB, free: 9.406 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.497e-05/0.9938, allocations: 0 / 1.29 GB, free: 9.406 MB / 1.014 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.004184/0.998, allocations: 1.87 MB / 1.292 GB, free: 7.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9981, allocations: 12.03 kB / 1.292 GB, free: 7.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.9987, allocations: 167 kB / 1.292 GB, free: 7.289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/1.001, allocations: 1.205 MB / 1.294 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/1.001, allocations: 70 kB / 1.294 GB, free: 5.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/1.001, allocations: 88 kB / 1.294 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.003, allocations: 0.9644 MB / 1.295 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/1.003, allocations: 0 / 1.295 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/1.003, allocations: 36 kB / 1.295 GB, free: 4.836 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/1.003, allocations: 24 kB / 1.295 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/1.005, allocations: 0.6714 MB / 1.295 GB, free: 4.141 MB / 1.014 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.006126/1.011, allocations: 4.069 MB / 1.299 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/1.012, allocations: 401.7 kB / 1.3 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/1.012, allocations: 262.5 kB / 1.3 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/1.013, allocations: 0.4913 MB / 1.3 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/1.013, allocations: 366 kB / 1.301 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.275e-06/1.013, allocations: 4 kB / 1.301 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.004402/1.018, allocations: 1.969 MB / 1.303 GB, free: 12.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/1.018, allocations: 140.9 kB / 1.303 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.019, allocations: 1.11 MB / 1.304 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/1.02, allocations: 41.64 kB / 1.304 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/1.02, allocations: 0.5819 MB / 1.305 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/1.02, allocations: 181.4 kB / 1.305 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/1.021, allocations: 138.2 kB / 1.305 GB, free: 9.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.021, allocations: 334 kB / 1.305 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/1.021, allocations: 227.7 kB / 1.305 GB, free: 9.336 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/1.022, allocations: 432.6 kB / 1.306 GB, free: 8.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/1.023, allocations: 0.6546 MB / 1.306 GB, free: 8.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.023, allocations: 3.938 kB / 1.306 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001613/1.024, allocations: 0.8915 MB / 1.307 GB, free: 7.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/1.024, allocations: 45.81 kB / 1.307 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.024, allocations: 8 kB / 1.307 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/1.025, allocations: 109.7 kB / 1.307 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/1.025, allocations: 119.8 kB / 1.308 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.027, allocations: 2.367 MB / 1.31 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/1.028, allocations: 39.97 kB / 1.31 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/1.028, allocations: 31.98 kB / 1.31 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008036/1.029, allocations: 473.7 kB / 1.31 GB, free: 3.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00056/1.03, allocations: 432.2 kB / 1.311 GB, free: 3.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008878/1.03, allocations: 0.6429 MB / 1.311 GB, free: 2.621 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/1.031, allocations: 0 / 1.311 GB, free: 2.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001611/1.032, allocations: 0.8871 MB / 1.312 GB, free: 1.715 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/1.032, allocations: 37.7 kB / 1.312 GB, free: 1.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.032, allocations: 4 kB / 1.312 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/1.033, allocations: 126.1 kB / 1.312 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/1.033, allocations: 115.8 kB / 1.313 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/1.035, allocations: 2.363 MB / 1.315 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/1.036, allocations: 52.02 kB / 1.315 GB, free: 14.85 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/1.036, allocations: 31.98 kB / 1.315 GB, free: 14.82 MB / 1.045 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.0003036/1.036, allocations: 269.7 kB / 1.315 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/1.037, allocations: 126.4 kB / 1.315 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/1.038, allocations: 0.808 MB / 1.316 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.038, allocations: 8 kB / 1.316 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/1.038, allocations: 0 / 1.316 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009953/1.039, allocations: 0.7112 MB / 1.317 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/1.042, allocations: 1.833 MB / 1.319 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.042, allocations: 4.125 kB / 1.319 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/1.042, allocations: 75.89 kB / 1.319 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/1.043, allocations: 109.8 kB / 1.319 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/1.043, allocations: 19.98 kB / 1.319 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/1.045, allocations: 2.359 MB / 1.321 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.045, allocations: 4.031 kB / 1.321 GB, free: 8.172 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/1.046, allocations: 1.139 MB / 1.322 GB, free: 6.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/1.047, allocations: 255.5 kB / 1.323 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/1.047, allocations: 19.98 kB / 1.323 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/1.048, allocations: 31.97 kB / 1.323 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.048, allocations: 36.02 kB / 1.323 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/1.048, allocations: 31.97 kB / 1.323 GB, free: 6.602 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001302/1.05, allocations: 0.8404 MB / 1.323 GB, free: 5.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.05, allocations: 0 / 1.323 GB, free: 5.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001829/1.051, allocations: 0.5897 MB / 1.324 GB, free: 5.168 MB / 1.045 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.0009287/1.052, allocations: 416.9 kB / 1.324 GB, free: 4.762 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002324/1.055, allocations: 1.344 MB / 1.326 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.055, allocations: 0 / 1.326 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/1.055, allocations: 476 kB / 1.326 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.059, allocations: 0.6863 MB / 1.327 GB, free: 2.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/1.062, allocations: 2.047 MB / 1.329 GB, free: 104 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/1.063, allocations: 1.121 MB / 1.33 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.064, allocations: 95.41 kB / 1.33 GB, free: 14.86 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/1.064, allocations: 4 kB / 1.33 GB, free: 14.86 MB / 1.061 GB Notification: Performance of Templates: time 0.04315/1.107, allocations: 32.2 MB / 1.361 GB, free: 14.8 MB / 1.092 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