Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001742/0.001742, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.404/1.404, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.89 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3801, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.2332/0.6133, allocations: 182.1 MB / 1.44 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02258/0.6359, allocations: 13.88 MB / 1.453 GB, free: 8.184 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.6377, allocations: 31.81 kB / 1.454 GB, free: 8.152 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.6397, allocations: 0.4969 MB / 1.454 GB, free: 7.652 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.6446, allocations: 1.329 MB / 1.455 GB, free: 6.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.6497, allocations: 1.567 MB / 1.457 GB, free: 4.754 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.6534, allocations: 1.956 MB / 1.459 GB, free: 2.793 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.6549, allocations: 0.5692 MB / 1.459 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009428/0.6643, allocations: 3.318 MB / 1.463 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.6659, allocations: 0.6534 MB / 1.463 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.6662, allocations: 80 kB / 1.463 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007012/0.6733, allocations: 2.816 MB / 1.466 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/0.6738, allocations: 215.1 kB / 1.466 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.675, allocations: 0.513 MB / 1.467 GB, free: 10.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00665/0.6817, allocations: 2.566 MB / 1.469 GB, free: 8.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6817, allocations: 0 / 1.469 GB, free: 8.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6817, allocations: 4 kB / 1.469 GB, free: 8.016 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.304e-05/0.6817, allocations: 0 / 1.469 GB, free: 8.016 MB / 1.186 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.004103/0.6858, allocations: 1.448 MB / 1.471 GB, free: 6.504 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6859, allocations: 16.03 kB / 1.471 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.6877, allocations: 215.1 kB / 1.471 GB, free: 6.277 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.6894, allocations: 0.6942 MB / 1.472 GB, free: 5.543 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.6895, allocations: 45.31 kB / 1.472 GB, free: 5.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.6897, allocations: 68 kB / 1.472 GB, free: 5.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6911, allocations: 0.6761 MB / 1.472 GB, free: 4.738 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.6912, allocations: 3.938 kB / 1.472 GB, free: 4.734 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.6913, allocations: 35.88 kB / 1.472 GB, free: 4.699 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.6913, allocations: 16 kB / 1.472 GB, free: 4.684 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.6924, allocations: 0.5048 MB / 1.473 GB, free: 4.18 MB / 1.186 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.01891/0.7113, allocations: 6.868 MB / 1.48 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.7119, allocations: 258.7 kB / 1.48 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.7123, allocations: 162.5 kB / 1.48 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.7128, allocations: 307.5 kB / 1.48 GB, free: 12.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000579/0.7134, allocations: 298.9 kB / 1.481 GB, free: 11.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=38): time 3.146e-06/0.7134, allocations: 0 / 1.481 GB, free: 11.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.006953/0.7203, allocations: 2.37 MB / 1.483 GB, free: 9.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.7204, allocations: 191.9 kB / 1.483 GB, free: 9.109 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.7219, allocations: 0.794 MB / 1.484 GB, free: 8.301 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.722, allocations: 37.77 kB / 1.484 GB, free: 8.258 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.7224, allocations: 444.6 kB / 1.484 GB, free: 7.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.7226, allocations: 154.7 kB / 1.484 GB, free: 7.668 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.7229, allocations: 110.2 kB / 1.485 GB, free: 7.551 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.723, allocations: 330 kB / 1.485 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.7235, allocations: 207 kB / 1.485 GB, free: 7.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.7241, allocations: 342.9 kB / 1.485 GB, free: 6.641 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.725, allocations: 0.5349 MB / 1.486 GB, free: 6.066 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.725, allocations: 4 kB / 1.486 GB, free: 6.062 MB / 1.201 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001867/0.7268, allocations: 0.7828 MB / 1.487 GB, free: 5.262 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.7269, allocations: 41.69 kB / 1.487 GB, free: 5.215 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7269, allocations: 8.188 kB / 1.487 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000844/0.7278, allocations: 137.6 kB / 1.487 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.7286, allocations: 151.9 kB / 1.487 GB, free: 4.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.7331, allocations: 4.51 MB / 1.491 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7341, allocations: 48 kB / 1.491 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.7342, allocations: 31.94 kB / 1.491 GB, free: 0 / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008558/0.735, allocations: 381.1 kB / 1.492 GB, free: 15.62 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005968/0.7356, allocations: 340.1 kB / 1.492 GB, free: 15.25 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008879/0.7365, allocations: 0.5272 MB / 1.493 GB, free: 14.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.7365, allocations: 0 / 1.493 GB, free: 14.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001916/0.7384, allocations: 0.7789 MB / 1.493 GB, free: 13.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.7385, allocations: 41.69 kB / 1.493 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7385, allocations: 4 kB / 1.493 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/0.7393, allocations: 137.8 kB / 1.494 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.7398, allocations: 119.9 kB / 1.494 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.7433, allocations: 3.329 MB / 1.497 GB, free: 9.973 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009874/0.7443, allocations: 52 kB / 1.497 GB, free: 9.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.7444, allocations: 20 kB / 1.497 GB, free: 9.902 MB / 1.217 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.0003224/0.7447, allocations: 254.3 kB / 1.497 GB, free: 9.641 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.7451, allocations: 95.38 kB / 1.497 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.7466, allocations: 0.7238 MB / 1.498 GB, free: 8.789 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7466, allocations: 3.984 kB / 1.498 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.7466, allocations: 3.938 kB / 1.498 GB, free: 8.781 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.747, allocations: 204.5 kB / 1.498 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.7472, allocations: 15.94 kB / 1.498 GB, free: 8.547 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.7479, allocations: 27.97 kB / 1.498 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.748, allocations: 32.23 kB / 1.498 GB, free: 8.488 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001726/0.7497, allocations: 0.9096 MB / 1.499 GB, free: 7.539 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001574/0.7513, allocations: 1.073 MB / 1.5 GB, free: 6.445 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003162/0.7516, allocations: 167.7 kB / 1.5 GB, free: 6.281 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001083/0.7527, allocations: 0.5732 MB / 1.501 GB, free: 5.715 MB / 1.217 GB Notification: Performance of Backend: time 9.61e-07/0.7527, allocations: 0 / 1.501 GB, free: 5.715 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006169/0.7588, allocations: 1.907 MB / 1.503 GB, free: 3.738 MB / 1.217 GB Notification: Performance of SimCode: time 0.004514/0.7633, allocations: 2.286 MB / 1.505 GB, free: 1.395 MB / 1.217 GB Notification: Performance of Templates: time 0.05545/0.8188, allocations: 29.6 MB / 1.534 GB, free: 4.031 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches