Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 215 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.72 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.2114/0.609, allocations: 161 MB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.6282, allocations: 12.72 MB / 1.497 GB, free: 2.625 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.6298, allocations: 39.69 kB / 1.497 GB, free: 2.586 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.6312, allocations: 496.9 kB / 1.497 GB, free: 2.098 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.6354, allocations: 1.329 MB / 1.499 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.6397, allocations: 1.567 MB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.6429, allocations: 1.96 MB / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009953/0.6439, allocations: 0.5736 MB / 1.503 GB, free: 12.65 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009774/0.6537, allocations: 3.649 MB / 1.506 GB, free: 8.988 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.655, allocations: 0.6378 MB / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.6552, allocations: 80 kB / 1.507 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005678/0.6609, allocations: 2.684 MB / 1.509 GB, free: 5.582 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.6612, allocations: 219 kB / 1.51 GB, free: 5.367 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.662, allocations: 426 kB / 1.51 GB, free: 4.949 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005348/0.6674, allocations: 2.559 MB / 1.513 GB, free: 2.383 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6674, allocations: 0 / 1.513 GB, free: 2.383 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6674, allocations: 0 / 1.513 GB, free: 2.383 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.6674, allocations: 0 / 1.513 GB, free: 2.383 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002833/0.6702, allocations: 1.365 MB / 1.514 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6703, allocations: 15.97 kB / 1.514 GB, free: 0.957 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.672, allocations: 231.1 kB / 1.514 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6734, allocations: 0.6376 MB / 1.515 GB, free: 68 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.6734, allocations: 49.25 kB / 1.515 GB, free: 20 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6736, allocations: 68.05 kB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.675, allocations: 0.8557 MB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.675, allocations: 0 / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.6751, allocations: 31.98 kB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.6751, allocations: 19.94 kB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6761, allocations: 0.5299 MB / 1.516 GB, free: 14.45 MB / 1.217 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.0175/0.6936, allocations: 5.341 MB / 1.521 GB, free: 9.055 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.6942, allocations: 289.4 kB / 1.522 GB, free: 8.738 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.6945, allocations: 200.4 kB / 1.522 GB, free: 8.527 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.6948, allocations: 71.92 kB / 1.522 GB, free: 8.457 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.6954, allocations: 498 kB / 1.523 GB, free: 7.895 MB / 1.217 GB Notification: Performance of pre-optimization done (n=38): time 2.274e-06/0.6954, allocations: 4 kB / 1.523 GB, free: 7.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006062/0.7015, allocations: 2.347 MB / 1.525 GB, free: 5.438 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7016, allocations: 195.9 kB / 1.525 GB, free: 5.203 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.7027, allocations: 0.7075 MB / 1.526 GB, free: 4.484 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.7027, allocations: 37.7 kB / 1.526 GB, free: 4.441 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.7032, allocations: 444.3 kB / 1.526 GB, free: 4 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.7033, allocations: 158.6 kB / 1.526 GB, free: 3.844 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.7035, allocations: 110.3 kB / 1.526 GB, free: 3.727 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.7037, allocations: 382.8 kB / 1.527 GB, free: 3.344 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.7042, allocations: 249.1 kB / 1.527 GB, free: 3.094 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/0.7049, allocations: 0.5616 MB / 1.528 GB, free: 2.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.7058, allocations: 0.5341 MB / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.7058, allocations: 0 / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00186/0.7076, allocations: 0.8143 MB / 1.529 GB, free: 1.016 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.7077, allocations: 33.7 kB / 1.529 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.7077, allocations: 4 kB / 1.529 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/0.7086, allocations: 149.8 kB / 1.529 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.7095, allocations: 139.8 kB / 1.529 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.7137, allocations: 4.238 MB / 1.533 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.7145, allocations: 40.28 kB / 1.533 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.7146, allocations: 35.91 kB / 1.533 GB, free: 12.12 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007662/0.7154, allocations: 420.1 kB / 1.534 GB, free: 11.7 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006619/0.716, allocations: 0.5577 MB / 1.534 GB, free: 11.04 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008344/0.7169, allocations: 0.5302 MB / 1.535 GB, free: 10.47 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.7169, allocations: 0 / 1.535 GB, free: 10.47 MB / 1.232 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001758/0.7186, allocations: 0.8066 MB / 1.536 GB, free: 9.645 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.7187, allocations: 37.69 kB / 1.536 GB, free: 9.602 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.7187, allocations: 4 kB / 1.536 GB, free: 9.598 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008165/0.7195, allocations: 145.5 kB / 1.536 GB, free: 9.449 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.72, allocations: 119.9 kB / 1.536 GB, free: 9.332 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.7232, allocations: 3.05 MB / 1.539 GB, free: 6.082 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.7241, allocations: 48.11 kB / 1.539 GB, free: 6.035 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.7241, allocations: 24 kB / 1.539 GB, free: 6.012 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.7244, allocations: 254.6 kB / 1.539 GB, free: 5.75 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.7247, allocations: 83.48 kB / 1.539 GB, free: 5.668 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.7261, allocations: 0.7338 MB / 1.54 GB, free: 4.895 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7261, allocations: 7.984 kB / 1.54 GB, free: 4.887 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7261, allocations: 0 / 1.54 GB, free: 4.887 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.7264, allocations: 111.5 kB / 1.54 GB, free: 4.777 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7265, allocations: 12 kB / 1.54 GB, free: 4.766 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.727, allocations: 23.97 kB / 1.54 GB, free: 4.742 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.7271, allocations: 44.09 kB / 1.54 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001754/0.7289, allocations: 0.935 MB / 1.541 GB, free: 3.719 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001507/0.7304, allocations: 1.127 MB / 1.542 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003267/0.7307, allocations: 206.1 kB / 1.542 GB, free: 2.348 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008076/0.7315, allocations: 0.499 MB / 1.543 GB, free: 1.852 MB / 1.232 GB Notification: Performance of Backend: time 2.7e-07/0.7315, allocations: 0 / 1.543 GB, free: 1.852 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005352/0.7369, allocations: 1.953 MB / 1.545 GB, free: 15.8 MB / 1.248 GB Notification: Performance of SimCode: time 0.003527/0.7404, allocations: 2.189 MB / 1.547 GB, free: 13.56 MB / 1.248 GB Notification: Performance of Templates: time 0.04645/0.7868, allocations: 29.32 MB / 1.576 GB, free: 0.5742 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.734020782998414]