Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001436/0.001436, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001258/0.001258, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.73 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9935, allocations: 159.1 MB / 1.221 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.3026/1.296, allocations: 281.5 MB / 1.496 GB, free: 7.984 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.07826/1.375, allocations: 52.61 MB / 1.547 GB, free: 3.25 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/1.388, allocations: 322.2 kB / 1.547 GB, free: 2.934 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/1.4, allocations: 3.711 MB / 1.551 GB, free: 15.2 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.022/1.422, allocations: 7.466 MB / 1.558 GB, free: 7.711 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01669/1.439, allocations: 5.126 MB / 1.563 GB, free: 2.629 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9032/2.342, allocations: 18.32 MB / 1.581 GB, free: 77.21 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009338/2.351, allocations: 4.869 MB / 1.586 GB, free: 76.72 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0143/2.366, allocations: 5.768 MB / 1.592 GB, free: 76.7 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00826/2.374, allocations: 4.021 MB / 1.596 GB, free: 76.29 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002293/2.376, allocations: 488.8 kB / 1.596 GB, free: 76.29 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008837/2.385, allocations: 3.117 MB / 1.599 GB, free: 76.29 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002843/2.388, allocations: 1.63 MB / 1.601 GB, free: 76.05 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005615/2.394, allocations: 3.205 MB / 1.604 GB, free: 75.1 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/2.409, allocations: 8.965 MB / 1.613 GB, free: 74.11 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/2.409, allocations: 0 / 1.613 GB, free: 74.11 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.295e-06/2.409, allocations: 0 / 1.613 GB, free: 74.11 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003992/2.409, allocations: 0 / 1.613 GB, free: 74.11 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.02065/2.43, allocations: 6.844 MB / 1.619 GB, free: 70.98 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/2.43, allocations: 8.281 kB / 1.619 GB, free: 70.98 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/2.437, allocations: 1.193 MB / 1.62 GB, free: 70.61 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/2.449, allocations: 6.232 MB / 1.627 GB, free: 69.51 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/2.449, allocations: 221.1 kB / 1.627 GB, free: 69.5 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008125/2.45, allocations: 288.2 kB / 1.627 GB, free: 69.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006493/2.457, allocations: 3.203 MB / 1.63 GB, free: 69.11 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.843e-05/2.457, allocations: 2.938 kB / 1.63 GB, free: 69.11 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/2.457, allocations: 113.8 kB / 1.63 GB, free: 69.11 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.95e-05/2.457, allocations: 103.1 kB / 1.63 GB, free: 69.11 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006139/2.463, allocations: 2.675 MB / 1.633 GB, free: 69.05 MB / 1.279 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.02906/2.492, allocations: 18.91 MB / 1.651 GB, free: 58.32 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/2.497, allocations: 1.705 MB / 1.653 GB, free: 58.17 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/2.499, allocations: 1.037 MB / 1.654 GB, free: 58.15 MB / 1.279 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.01079/2.51, allocations: 4.046 MB / 1.658 GB, free: 56.95 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/2.51, allocations: 49.69 kB / 1.658 GB, free: 56.91 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003661/2.514, allocations: 411.3 kB / 1.658 GB, free: 56.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=140): time 9.227e-06/2.514, allocations: 0 / 1.658 GB, free: 56.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=145): time 0.03365/2.547, allocations: 8.663 MB / 1.667 GB, free: 55.12 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/2.547, allocations: 67.03 kB / 1.667 GB, free: 55.05 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008289/2.556, allocations: 5.151 MB / 1.672 GB, free: 54.61 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006612/2.556, allocations: 66.23 kB / 1.672 GB, free: 54.58 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002304/2.559, allocations: 2.481 MB / 1.675 GB, free: 53.97 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/2.559, allocations: 0.5156 MB / 1.675 GB, free: 53.64 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/2.561, allocations: 0.6862 MB / 1.676 GB, free: 53.59 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/2.561, allocations: 310.1 kB / 1.676 GB, free: 53.29 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/2.563, allocations: 1.279 MB / 1.677 GB, free: 53.25 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/2.566, allocations: 2.192 MB / 1.679 GB, free: 52.22 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/2.571, allocations: 3.196 MB / 1.683 GB, free: 51.29 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/2.571, allocations: 6.625 kB / 1.683 GB, free: 51.29 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01485/2.586, allocations: 5.1 MB / 1.688 GB, free: 49.99 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/2.586, allocations: 16 kB / 1.688 GB, free: 49.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-05/2.586, allocations: 18.78 kB / 1.688 GB, free: 49.99 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00667/2.593, allocations: 1.25 MB / 1.689 GB, free: 48.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/2.596, allocations: 0.6178 MB / 1.689 GB, free: 48.42 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009976/2.606, allocations: 7.101 MB / 1.696 GB, free: 42.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/2.612, allocations: 217.4 kB / 1.697 GB, free: 42.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/2.612, allocations: 148.5 kB / 1.697 GB, free: 42.25 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004295/2.617, allocations: 2.121 MB / 1.699 GB, free: 40.98 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002487/2.619, allocations: 2.159 MB / 1.701 GB, free: 38.98 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004389/2.624, allocations: 3.142 MB / 1.704 GB, free: 36.62 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-05/2.624, allocations: 7.656 kB / 1.704 GB, free: 36.62 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01357/2.637, allocations: 5 MB / 1.709 GB, free: 31.74 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/2.637, allocations: 16 kB / 1.709 GB, free: 31.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/2.637, allocations: 24.12 kB / 1.709 GB, free: 31.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00643/2.644, allocations: 1.193 MB / 1.71 GB, free: 30.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/2.646, allocations: 0.5961 MB / 1.711 GB, free: 29.95 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/2.657, allocations: 8.62 MB / 1.719 GB, free: 20.95 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/2.662, allocations: 228.4 kB / 1.719 GB, free: 20.72 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/2.662, allocations: 139.9 kB / 1.719 GB, free: 20.59 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (303): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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%), (7,13,79.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006534/2.663, allocations: 346.6 kB / 1.72 GB, free: 20.28 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009802/2.664, allocations: 0.5091 MB / 1.72 GB, free: 19.76 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007767/2.672, allocations: 3.216 MB / 1.723 GB, free: 16.56 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005779/2.677, allocations: 2.457 MB / 1.726 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/2.678, allocations: 3.938 kB / 1.726 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/2.68, allocations: 0.8065 MB / 1.726 GB, free: 13.26 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/2.681, allocations: 35.84 kB / 1.727 GB, free: 13.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/2.683, allocations: 163.8 kB / 1.727 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/2.684, allocations: 145.8 kB / 1.727 GB, free: 12.92 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006937/2.691, allocations: 2.669 MB / 1.729 GB, free: 10.28 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006856/2.697, allocations: 3.681 MB / 1.733 GB, free: 6.57 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001671/2.699, allocations: 0.937 MB / 1.734 GB, free: 5.637 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005162/2.704, allocations: 3.408 MB / 1.737 GB, free: 2.238 MB / 1.279 GB Notification: Performance of Backend: time 6.52e-07/2.704, allocations: 0 / 1.737 GB, free: 2.238 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0143/2.719, allocations: 6.041 MB / 1.743 GB, free: 12.37 MB / 1.295 GB Notification: Performance of SimCode: time 0.02244/2.741, allocations: 11.18 MB / 1.754 GB, free: 1.312 MB / 1.295 GB Notification: Performance of Templates: time 0.1931/2.934, allocations: 107.6 MB / 1.859 GB, free: 7.641 MB / 1.404 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches