Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001648/0.001648, allocations: 107.9 kB / 16.42 MB, free: 5.996 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.002277/0.002277, allocations: 191 kB / 17.35 MB, free: 5.605 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 68.11 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9699, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.2109/1.181, allocations: 181.5 MB / 1.386 GB, free: 7.461 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02004/1.201, allocations: 13.83 MB / 1.399 GB, free: 9.586 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.203, allocations: 27.81 kB / 1.399 GB, free: 9.559 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.205, allocations: 0.4968 MB / 1.4 GB, free: 9.059 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004519/1.209, allocations: 1.257 MB / 1.401 GB, free: 7.797 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/1.214, allocations: 1.556 MB / 1.402 GB, free: 6.246 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003344/1.217, allocations: 1.952 MB / 1.404 GB, free: 4.289 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/1.219, allocations: 0.698 MB / 1.405 GB, free: 3.582 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009654/1.229, allocations: 3.222 MB / 1.408 GB, free: 356 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.23, allocations: 0.6301 MB / 1.409 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003863/1.231, allocations: 80 kB / 1.409 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006781/1.237, allocations: 2.805 MB / 1.412 GB, free: 12.83 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/1.238, allocations: 215.2 kB / 1.412 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/1.239, allocations: 0.5092 MB / 1.412 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005881/1.245, allocations: 2.564 MB / 1.415 GB, free: 9.535 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.245, allocations: 0 / 1.415 GB, free: 9.535 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.304e-06/1.245, allocations: 4 kB / 1.415 GB, free: 9.531 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.297e-05/1.245, allocations: 0 / 1.415 GB, free: 9.531 MB / 1.139 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.003631/1.249, allocations: 1.399 MB / 1.416 GB, free: 8.07 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.249, allocations: 8.031 kB / 1.416 GB, free: 8.062 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.251, allocations: 206.5 kB / 1.416 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.252, allocations: 0.6897 MB / 1.417 GB, free: 7.125 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/1.252, allocations: 49.31 kB / 1.417 GB, free: 7.078 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.252, allocations: 68 kB / 1.417 GB, free: 7.012 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.254, allocations: 0.6761 MB / 1.418 GB, free: 6.316 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.254, allocations: 7.906 kB / 1.418 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/1.254, allocations: 31.98 kB / 1.418 GB, free: 6.277 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/1.254, allocations: 12 kB / 1.418 GB, free: 6.266 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.255, allocations: 0.5087 MB / 1.418 GB, free: 5.758 MB / 1.139 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.01813/1.273, allocations: 6.855 MB / 1.425 GB, free: 14.54 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/1.274, allocations: 283.6 kB / 1.425 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.274, allocations: 198.7 kB / 1.426 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/1.274, allocations: 303.2 kB / 1.426 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/1.275, allocations: 303.9 kB / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=38): time 4.018e-06/1.275, allocations: 0 / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.006023/1.281, allocations: 2.313 MB / 1.428 GB, free: 10.93 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.281, allocations: 200 kB / 1.429 GB, free: 10.69 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/1.282, allocations: 0.7939 MB / 1.429 GB, free: 9.887 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/1.283, allocations: 41.69 kB / 1.429 GB, free: 9.84 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/1.283, allocations: 427.9 kB / 1.43 GB, free: 9.414 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/1.283, allocations: 149.8 kB / 1.43 GB, free: 9.266 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.283, allocations: 114.1 kB / 1.43 GB, free: 9.148 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.283, allocations: 334 kB / 1.43 GB, free: 8.816 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/1.284, allocations: 211 kB / 1.431 GB, free: 8.605 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/1.284, allocations: 334.9 kB / 1.431 GB, free: 8.238 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/1.285, allocations: 0.5351 MB / 1.431 GB, free: 7.664 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.285, allocations: 0 / 1.431 GB, free: 7.664 MB / 1.154 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001704/1.287, allocations: 0.7941 MB / 1.432 GB, free: 6.848 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/1.287, allocations: 37.64 kB / 1.432 GB, free: 6.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.287, allocations: 4 kB / 1.432 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008112/1.288, allocations: 145.7 kB / 1.432 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/1.289, allocations: 151.8 kB / 1.432 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/1.293, allocations: 4.514 MB / 1.437 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/1.294, allocations: 43.95 kB / 1.437 GB, free: 1.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/1.294, allocations: 24.11 kB / 1.437 GB, free: 1.598 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007089/1.294, allocations: 393.2 kB / 1.437 GB, free: 1.211 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004945/1.295, allocations: 327 kB / 1.438 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000809/1.296, allocations: 0.5311 MB / 1.438 GB, free: 280 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.296, allocations: 0 / 1.438 GB, free: 280 kB / 1.154 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001723/1.297, allocations: 0.7824 MB / 1.439 GB, free: 15.47 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.297, allocations: 37.77 kB / 1.439 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.297, allocations: 4 kB / 1.439 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/1.298, allocations: 137.6 kB / 1.439 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/1.299, allocations: 123.8 kB / 1.439 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/1.302, allocations: 3.314 MB / 1.442 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/1.303, allocations: 60.03 kB / 1.443 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/1.303, allocations: 23.98 kB / 1.443 GB, free: 11.49 MB / 1.17 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.0003145/1.303, allocations: 249.8 kB / 1.443 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/1.304, allocations: 94.89 kB / 1.443 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/1.305, allocations: 0.7198 MB / 1.444 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.305, allocations: 4 kB / 1.444 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.305, allocations: 3.938 kB / 1.444 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/1.305, allocations: 196.1 kB / 1.444 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/1.306, allocations: 15.98 kB / 1.444 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/1.306, allocations: 23.97 kB / 1.444 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.306, allocations: 32.23 kB / 1.444 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001672/1.308, allocations: 0.9021 MB / 1.445 GB, free: 9.156 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00144/1.31, allocations: 1.073 MB / 1.446 GB, free: 8.062 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003202/1.31, allocations: 204.2 kB / 1.446 GB, free: 7.863 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001068/1.311, allocations: 0.5772 MB / 1.447 GB, free: 7.289 MB / 1.17 GB Notification: Performance of Backend: time 2.735e-06/1.311, allocations: 0 / 1.447 GB, free: 7.289 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006237/1.317, allocations: 1.991 MB / 1.448 GB, free: 5.23 MB / 1.17 GB Notification: Performance of SimCode: time 0.004111/1.321, allocations: 2.286 MB / 1.451 GB, free: 2.895 MB / 1.17 GB Notification: Performance of Templates: time 0.05427/1.376, allocations: 29.2 MB / 1.479 GB, free: 5.93 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches