Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00201/0.002009, allocations: 108.6 kB / 16.41 MB, free: 6.441 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.002038/0.002038, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.412/1.412, 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 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8439, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumLoa.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.315/1.159, allocations: 280.7 MB / 1.363 GB, free: 4.758 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.08017/1.239, allocations: 50.53 MB / 1.412 GB, free: 2.105 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01513/1.254, allocations: 318.2 kB / 1.412 GB, free: 1.793 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/1.266, allocations: 2.869 MB / 1.415 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02315/1.289, allocations: 7.166 MB / 1.422 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01417/1.303, allocations: 4.921 MB / 1.427 GB, free: 2.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.02075/1.324, allocations: 12.51 MB / 1.439 GB, free: 6.297 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008572/1.332, allocations: 4.783 MB / 1.444 GB, free: 1.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01402/1.347, allocations: 5.749 MB / 1.449 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008309/1.355, allocations: 3.882 MB / 1.453 GB, free: 7.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.002547/1.357, allocations: 464 kB / 1.454 GB, free: 7.316 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/1.366, allocations: 2.937 MB / 1.457 GB, free: 4.375 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002397/1.368, allocations: 1.343 MB / 1.458 GB, free: 3.027 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00574/1.374, allocations: 2.826 MB / 1.461 GB, free: 192 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01466/1.389, allocations: 7.864 MB / 1.468 GB, free: 8.301 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.389, allocations: 0 / 1.468 GB, free: 8.301 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.843e-06/1.389, allocations: 3.938 kB / 1.468 GB, free: 8.297 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002469/1.389, allocations: 0 / 1.468 GB, free: 8.297 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: 676 * Number of variables: 676 Notification: Performance of Generate backend data structure: time 0.01368/1.403, allocations: 5.992 MB / 1.474 GB, free: 2.215 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.403, allocations: 8.031 kB / 1.474 GB, free: 2.207 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/1.408, allocations: 1.11 MB / 1.475 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0093/1.418, allocations: 4.184 MB / 1.479 GB, free: 12.82 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/1.418, allocations: 217.3 kB / 1.48 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006377/1.418, allocations: 291.9 kB / 1.48 GB, free: 12.32 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006045/1.424, allocations: 3.194 MB / 1.483 GB, free: 9.004 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/1.425, allocations: 7.938 kB / 1.483 GB, free: 8.996 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/1.425, allocations: 112 kB / 1.483 GB, free: 8.887 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.754e-05/1.425, allocations: 101.1 kB / 1.483 GB, free: 8.785 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005729/1.431, allocations: 2.675 MB / 1.486 GB, free: 6.098 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.02546/1.456, allocations: 18.21 MB / 1.504 GB, free: 2.254 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/1.46, allocations: 1.787 MB / 1.505 GB, free: 456 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.462, allocations: 1.054 MB / 1.506 GB, free: 15.39 MB / 1.248 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 evalFunc (simulation): time 0.00773/1.47, allocations: 3.936 MB / 1.51 GB, free: 11.27 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/1.47, allocations: 55.88 kB / 1.51 GB, free: 11.21 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002086/1.472, allocations: 378.1 kB / 1.511 GB, free: 10.84 MB / 1.248 GB Notification: Performance of pre-optimization done (n=142): time 5.65e-06/1.472, allocations: 0 / 1.511 GB, free: 10.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=147): time 0.03273/1.505, allocations: 8.668 MB / 1.519 GB, free: 2.051 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.505, allocations: 64.72 kB / 1.519 GB, free: 1.977 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007334/1.512, allocations: 3.959 MB / 1.523 GB, free: 14.03 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005112/1.513, allocations: 69.7 kB / 1.523 GB, free: 13.95 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.515, allocations: 2.189 MB / 1.525 GB, free: 11.75 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/1.516, allocations: 0.5083 MB / 1.526 GB, free: 11.23 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/1.517, allocations: 491.3 kB / 1.526 GB, free: 10.74 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/1.518, allocations: 305.1 kB / 1.526 GB, free: 10.44 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/1.52, allocations: 0.9579 MB / 1.527 GB, free: 9.473 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/1.523, allocations: 1.732 MB / 1.529 GB, free: 7.379 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/1.528, allocations: 2.576 MB / 1.532 GB, free: 4.535 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/1.528, allocations: 4 kB / 1.532 GB, free: 4.531 MB / 1.264 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01405/1.542, allocations: 4.191 MB / 1.536 GB, free: 324 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/1.542, allocations: 16.88 kB / 1.536 GB, free: 308 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.542, allocations: 19.94 kB / 1.536 GB, free: 288 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007142/1.549, allocations: 1.249 MB / 1.537 GB, free: 15.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/1.552, allocations: 0.5187 MB / 1.537 GB, free: 14.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.564, allocations: 7.114 MB / 1.544 GB, free: 7.078 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/1.568, allocations: 185.1 kB / 1.545 GB, free: 6.895 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008837/1.569, allocations: 132 kB / 1.545 GB, free: 6.766 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005082/1.574, allocations: 1.543 MB / 1.546 GB, free: 5.215 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003396/1.578, allocations: 1.685 MB / 1.548 GB, free: 3.168 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004986/1.583, allocations: 2.463 MB / 1.55 GB, free: 444 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.871e-05/1.583, allocations: 8 kB / 1.55 GB, free: 436 kB / 1.279 GB Notification: Performance of matching and sorting (n=270) (initialization_lambda0): time 0.01413/1.597, allocations: 4.024 MB / 1.554 GB, free: 12.38 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.597, allocations: 13.88 kB / 1.554 GB, free: 12.37 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/1.597, allocations: 23.94 kB / 1.554 GB, free: 12.34 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006833/1.604, allocations: 1.198 MB / 1.555 GB, free: 11.14 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/1.606, allocations: 0.4954 MB / 1.556 GB, free: 10.64 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.62, allocations: 8.635 MB / 1.564 GB, free: 1.555 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/1.623, allocations: 193.9 kB / 1.565 GB, free: 1.367 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/1.624, allocations: 123.9 kB / 1.565 GB, free: 1.246 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (8,12,79.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008022/1.624, allocations: 315.6 kB / 1.565 GB, free: 0.9297 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.626, allocations: 442.4 kB / 1.565 GB, free: 0.4922 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009488/1.635, allocations: 3.243 MB / 1.569 GB, free: 13.23 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00709/1.642, allocations: 2.493 MB / 1.571 GB, free: 10.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.642, allocations: 4 kB / 1.571 GB, free: 10.69 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.644, allocations: 0.6982 MB / 1.572 GB, free: 9.969 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.645, allocations: 35.98 kB / 1.572 GB, free: 9.934 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/1.648, allocations: 148 kB / 1.572 GB, free: 9.789 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/1.649, allocations: 157.6 kB / 1.572 GB, free: 9.637 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008358/1.657, allocations: 2.74 MB / 1.575 GB, free: 6.879 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008237/1.665, allocations: 3.688 MB / 1.578 GB, free: 3.172 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001982/1.667, allocations: 0.9643 MB / 1.579 GB, free: 2.203 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.639/2.306, allocations: 2.63 MB / 1.582 GB, free: 440.6 MB / 1.311 GB Notification: Performance of Backend: time 1.042e-06/2.306, allocations: 0.5312 kB / 1.582 GB, free: 440.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.321, allocations: 4.957 MB / 1.587 GB, free: 439.7 MB / 1.311 GB Notification: Performance of SimCode: time 0.02133/2.343, allocations: 9.541 MB / 1.596 GB, free: 435.4 MB / 1.311 GB Notification: Performance of Templates: time 0.1529/2.496, allocations: 92.23 MB / 1.686 GB, free: 390.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches