Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001874/0.001874, 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.002072/0.002072, 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.466/1.466, allocations: 225.6 MB / 244.2 MB, free: 13.9 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.814/2.814, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.53 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3703, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.3198/0.6901, allocations: 283.6 MB / 1.539 GB, free: 384 kB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.9804/1.67, allocations: 52.7 MB / 1.59 GB, free: 69.66 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01463/1.685, allocations: 322.1 kB / 1.591 GB, free: 69.66 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/1.697, allocations: 3.742 MB / 1.594 GB, free: 69.58 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0222/1.719, allocations: 7.467 MB / 1.602 GB, free: 69.29 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/1.733, allocations: 5.19 MB / 1.607 GB, free: 69.13 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03113/1.764, allocations: 18.42 MB / 1.625 GB, free: 69.05 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008033/1.772, allocations: 4.088 MB / 1.629 GB, free: 68.68 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.014/1.786, allocations: 5.771 MB / 1.634 GB, free: 68.32 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008767/1.795, allocations: 4.258 MB / 1.639 GB, free: 67.59 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002387/1.797, allocations: 488.3 kB / 1.639 GB, free: 67.59 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/1.808, allocations: 3.169 MB / 1.642 GB, free: 67.54 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003088/1.811, allocations: 1.693 MB / 1.644 GB, free: 67.25 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007255/1.818, allocations: 3.217 MB / 1.647 GB, free: 66.31 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/1.834, allocations: 9.052 MB / 1.656 GB, free: 63.96 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.834, allocations: 0 / 1.656 GB, free: 63.96 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.623e-06/1.834, allocations: 0 / 1.656 GB, free: 63.96 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002589/1.834, allocations: 0 / 1.656 GB, free: 63.96 MB / 1.264 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.01508/1.849, allocations: 6.93 MB / 1.663 GB, free: 59.11 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.849, allocations: 9.781 kB / 1.663 GB, free: 59.11 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/1.855, allocations: 1.234 MB / 1.664 GB, free: 58.5 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/1.866, allocations: 6.291 MB / 1.67 GB, free: 54.49 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/1.867, allocations: 223 kB / 1.67 GB, free: 54.39 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/1.867, allocations: 296.8 kB / 1.67 GB, free: 54.3 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00597/1.873, allocations: 3.23 MB / 1.674 GB, free: 52.27 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.873, allocations: 5.719 kB / 1.674 GB, free: 52.27 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/1.873, allocations: 111.5 kB / 1.674 GB, free: 52.18 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.434e-05/1.874, allocations: 110.9 kB / 1.674 GB, free: 52.16 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/1.879, allocations: 2.732 MB / 1.676 GB, free: 50.81 MB / 1.264 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.02485/1.904, allocations: 18.92 MB / 1.695 GB, free: 33.96 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/1.908, allocations: 1.598 MB / 1.696 GB, free: 33.1 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/1.91, allocations: 0.951 MB / 1.697 GB, free: 32.27 MB / 1.264 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.009008/1.919, allocations: 4.116 MB / 1.701 GB, free: 28.03 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.919, allocations: 54.5 kB / 1.701 GB, free: 27.97 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003534/1.922, allocations: 0.5335 MB / 1.702 GB, free: 27.45 MB / 1.264 GB Notification: Performance of pre-optimization done (n=140): time 7.374e-06/1.922, allocations: 0 / 1.702 GB, free: 27.45 MB / 1.264 GB Notification: Performance of matching and sorting (n=145): time 0.03154/1.954, allocations: 8.746 MB / 1.711 GB, free: 18.64 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.954, allocations: 72.09 kB / 1.711 GB, free: 18.56 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008572/1.962, allocations: 5.138 MB / 1.716 GB, free: 13.42 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005719/1.963, allocations: 65.7 kB / 1.716 GB, free: 13.35 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.965, allocations: 2.52 MB / 1.718 GB, free: 10.84 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/1.966, allocations: 0.5394 MB / 1.719 GB, free: 10.3 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.967, allocations: 0.6926 MB / 1.719 GB, free: 9.602 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/1.967, allocations: 309.1 kB / 1.72 GB, free: 9.297 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.969, allocations: 1.282 MB / 1.721 GB, free: 8.008 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/1.972, allocations: 2.194 MB / 1.723 GB, free: 5.453 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/1.976, allocations: 3.197 MB / 1.726 GB, free: 2.059 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.976, allocations: 7.938 kB / 1.726 GB, free: 2.051 MB / 1.264 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01562/1.992, allocations: 5.111 MB / 1.731 GB, free: 13.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.992, allocations: 12.94 kB / 1.731 GB, free: 13.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/1.992, allocations: 20 kB / 1.731 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007256/1.999, allocations: 1.243 MB / 1.732 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/2.003, allocations: 0.6096 MB / 1.733 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/2.016, allocations: 7.116 MB / 1.74 GB, free: 3.828 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/2.021, allocations: 219.8 kB / 1.74 GB, free: 3.613 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/2.022, allocations: 150.9 kB / 1.74 GB, free: 3.469 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006437/2.028, allocations: 2.124 MB / 1.742 GB, free: 1.34 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004115/2.032, allocations: 2.16 MB / 1.744 GB, free: 14.82 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006572/2.039, allocations: 3.14 MB / 1.748 GB, free: 11.48 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.432e-05/2.039, allocations: 4 kB / 1.748 GB, free: 11.48 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01769/2.057, allocations: 4.998 MB / 1.752 GB, free: 6.605 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/2.057, allocations: 19.98 kB / 1.752 GB, free: 6.586 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/2.057, allocations: 20 kB / 1.752 GB, free: 6.566 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007187/2.064, allocations: 1.191 MB / 1.754 GB, free: 5.367 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/2.067, allocations: 0.6027 MB / 1.754 GB, free: 4.801 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/2.082, allocations: 8.625 MB / 1.763 GB, free: 11.79 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/2.087, allocations: 240.3 kB / 1.763 GB, free: 11.55 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/2.087, allocations: 135.9 kB / 1.763 GB, free: 11.42 MB / 1.311 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.0008268/2.088, allocations: 339.7 kB / 1.763 GB, free: 11.12 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/2.09, allocations: 0.5355 MB / 1.764 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00973/2.099, allocations: 3.197 MB / 1.767 GB, free: 7.391 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007437/2.107, allocations: 2.425 MB / 1.769 GB, free: 4.949 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/2.107, allocations: 0 / 1.769 GB, free: 4.949 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/2.11, allocations: 0.8407 MB / 1.77 GB, free: 4.086 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.112, allocations: 32 kB / 1.77 GB, free: 4.055 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/2.116, allocations: 163.8 kB / 1.77 GB, free: 3.895 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005884/2.116, allocations: 145.8 kB / 1.77 GB, free: 3.75 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009127/2.125, allocations: 2.684 MB / 1.773 GB, free: 1.098 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00926/2.134, allocations: 3.704 MB / 1.777 GB, free: 13.37 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002133/2.137, allocations: 0.87 MB / 1.778 GB, free: 12.5 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.007997/2.145, allocations: 3.404 MB / 1.781 GB, free: 9.105 MB / 1.326 GB Notification: Performance of Backend: time 4.91e-07/2.145, allocations: 0 / 1.781 GB, free: 9.105 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01734/2.162, allocations: 5.677 MB / 1.786 GB, free: 3.664 MB / 1.326 GB Notification: Performance of SimCode: time 0.02664/2.189, allocations: 11.39 MB / 1.798 GB, free: 8.328 MB / 1.342 GB Notification: Performance of Templates: time 0.2083/2.397, allocations: 109.3 MB / 1.904 GB, free: 12.73 MB / 1.451 GB make -j1 -f Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches