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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001289/0.001289, allocations: 115.9 kB / 16.38 MB, free: 6.352 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.001408/0.001408, allocations: 188.8 kB / 17.31 MB, free: 5.895 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.414/1.414, 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.0-master/package.mo): time 2.665/2.665, allocations: 442.7 MB / 0.7166 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.84 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 153 MB / 1.177 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.2921/1.354, allocations: 281.5 MB / 1.452 GB, free: 352 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.08326/1.437, allocations: 52.6 MB / 1.503 GB, free: 11.61 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/1.45, allocations: 326.2 kB / 1.503 GB, free: 11.29 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01297/1.463, allocations: 3.648 MB / 1.507 GB, free: 7.625 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.02474/1.488, allocations: 7.123 MB / 1.514 GB, free: 488 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01527/1.503, allocations: 5.133 MB / 1.519 GB, free: 11.38 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02902/1.532, allocations: 18.31 MB / 1.537 GB, free: 9.047 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009/1.541, allocations: 4.862 MB / 1.541 GB, free: 4.098 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01487/1.556, allocations: 5.589 MB / 1.547 GB, free: 14.5 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008889/1.565, allocations: 4.027 MB / 1.551 GB, free: 10.45 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002509/1.568, allocations: 484 kB / 1.551 GB, free: 9.98 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/1.578, allocations: 3.116 MB / 1.554 GB, free: 6.859 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/1.582, allocations: 1.627 MB / 1.556 GB, free: 5.227 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007354/1.59, allocations: 3.203 MB / 1.559 GB, free: 2.008 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.9677/2.557, allocations: 8.956 MB / 1.568 GB, free: 105.1 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/2.557, allocations: 0 / 1.568 GB, free: 105.1 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.974e-06/2.557, allocations: 0 / 1.568 GB, free: 105.1 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004755/2.558, allocations: 1.375 kB / 1.568 GB, free: 105.1 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.02098/2.579, allocations: 6.834 MB / 1.575 GB, free: 102.2 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/2.579, allocations: 7.031 kB / 1.575 GB, free: 102.2 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/2.585, allocations: 1.199 MB / 1.576 GB, free: 101.9 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/2.596, allocations: 6.232 MB / 1.582 GB, free: 100.9 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/2.596, allocations: 221.2 kB / 1.582 GB, free: 100.8 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/2.597, allocations: 303.4 kB / 1.582 GB, free: 100.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/2.603, allocations: 3.19 MB / 1.585 GB, free: 100.5 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/2.603, allocations: 5.578 kB / 1.585 GB, free: 100.5 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/2.603, allocations: 114.9 kB / 1.586 GB, free: 100.5 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.03e-05/2.603, allocations: 104.2 kB / 1.586 GB, free: 100.5 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/2.609, allocations: 2.68 MB / 1.588 GB, free: 100.4 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.02696/2.636, allocations: 18.91 MB / 1.607 GB, free: 89.76 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/2.64, allocations: 1.696 MB / 1.608 GB, free: 89.61 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/2.642, allocations: 1.036 MB / 1.609 GB, free: 89.59 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.008785/2.651, allocations: 4.058 MB / 1.613 GB, free: 88.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/2.651, allocations: 47.44 kB / 1.613 GB, free: 88.36 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002764/2.654, allocations: 398.3 kB / 1.614 GB, free: 88.25 MB / 1.279 GB Notification: Performance of pre-optimization done (n=140): time 6.102e-06/2.654, allocations: 0 / 1.614 GB, free: 88.25 MB / 1.279 GB Notification: Performance of matching and sorting (n=145): time 0.03383/2.688, allocations: 8.67 MB / 1.622 GB, free: 86.58 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/2.688, allocations: 71.06 kB / 1.622 GB, free: 86.51 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009056/2.697, allocations: 5.134 MB / 1.627 GB, free: 86.08 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007694/2.698, allocations: 67.7 kB / 1.627 GB, free: 86.05 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002528/2.7, allocations: 2.489 MB / 1.63 GB, free: 85.43 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/2.701, allocations: 0.5144 MB / 1.63 GB, free: 85.11 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/2.702, allocations: 0.6871 MB / 1.631 GB, free: 85.05 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001056/2.702, allocations: 310.5 kB / 1.631 GB, free: 84.75 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003218/2.705, allocations: 1.283 MB / 1.633 GB, free: 84.71 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/2.709, allocations: 2.201 MB / 1.635 GB, free: 83.69 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/2.716, allocations: 3.194 MB / 1.638 GB, free: 82.84 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/2.716, allocations: 5.281 kB / 1.638 GB, free: 82.84 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01647/2.732, allocations: 5.084 MB / 1.643 GB, free: 82.36 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/2.732, allocations: 16.67 kB / 1.643 GB, free: 82.36 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/2.732, allocations: 24.31 kB / 1.643 GB, free: 82.36 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/2.74, allocations: 1.25 MB / 1.644 GB, free: 82.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/2.743, allocations: 0.6132 MB / 1.645 GB, free: 82.29 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/2.753, allocations: 7.102 MB / 1.652 GB, free: 78.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/2.759, allocations: 224.8 kB / 1.652 GB, free: 78.79 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005945/2.76, allocations: 143.5 kB / 1.652 GB, free: 78.79 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004758/2.764, allocations: 2.126 MB / 1.654 GB, free: 78.68 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00294/2.767, allocations: 2.157 MB / 1.656 GB, free: 77.66 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004884/2.772, allocations: 3.142 MB / 1.659 GB, free: 76.81 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.601e-05/2.772, allocations: 6.297 kB / 1.659 GB, free: 76.81 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01512/2.787, allocations: 4.999 MB / 1.664 GB, free: 76.32 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/2.787, allocations: 15.38 kB / 1.664 GB, free: 76.32 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/2.787, allocations: 24.88 kB / 1.664 GB, free: 76.32 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006724/2.794, allocations: 1.196 MB / 1.665 GB, free: 76.27 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/2.797, allocations: 0.5943 MB / 1.666 GB, free: 76.27 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/2.809, allocations: 8.624 MB / 1.674 GB, free: 71.67 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/2.815, allocations: 230.8 kB / 1.674 GB, free: 71.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006713/2.815, allocations: 142.4 kB / 1.675 GB, free: 71.66 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.0008746/2.816, allocations: 339.8 kB / 1.675 GB, free: 71.46 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/2.818, allocations: 0.5053 MB / 1.675 GB, free: 71.18 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009066/2.827, allocations: 3.219 MB / 1.679 GB, free: 70.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006479/2.834, allocations: 2.445 MB / 1.681 GB, free: 70.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/2.834, allocations: 2.875 kB / 1.681 GB, free: 70.62 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004098/2.838, allocations: 0.8079 MB / 1.682 GB, free: 70.23 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00259/2.84, allocations: 32.12 kB / 1.682 GB, free: 70.23 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004582/2.845, allocations: 165 kB / 1.682 GB, free: 70.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/2.846, allocations: 145.4 kB / 1.682 GB, free: 70.23 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007943/2.853, allocations: 2.682 MB / 1.685 GB, free: 69.95 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008158/2.862, allocations: 3.672 MB / 1.688 GB, free: 67.61 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001934/2.864, allocations: 0.9416 MB / 1.689 GB, free: 67 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006815/2.87, allocations: 3.402 MB / 1.693 GB, free: 64.6 MB / 1.279 GB Notification: Performance of Backend: time 2.214e-06/2.871, allocations: 4 kB / 1.693 GB, free: 64.59 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01668/2.887, allocations: 6.033 MB / 1.698 GB, free: 60.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.0225/2.91, allocations: 11.21 MB / 1.709 GB, free: 49.99 MB / 1.279 GB Notification: Performance of Templates: time 0.1707/3.081, allocations: 106.8 MB / 1.814 GB, free: 9.426 MB / 1.342 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