Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01501/0.01501, allocations: 106.9 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001823/0.001823, allocations: 188.3 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.092/2.092, allocations: 194.6 MB / 211.3 MB, free: 11.32 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.182/2.182, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000811/0.0008113, allocations: 15.98 kB / 0.587 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5536, allocations: 98.7 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.3321/0.8858, allocations: 229.9 MB / 0.9079 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.5796/1.465, allocations: 25.3 MB / 0.9326 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005246/1.471, allocations: 116.8 kB / 0.9327 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.007452/1.478, allocations: 2.028 MB / 0.9347 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01704/1.495, allocations: 4.766 MB / 0.9393 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01796/1.513, allocations: 4.141 MB / 0.9434 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01145/1.525, allocations: 5.415 MB / 0.9487 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005477/1.53, allocations: 2.467 MB / 0.9511 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008625/1.539, allocations: 2.994 MB / 0.954 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004793/1.544, allocations: 1.931 MB / 0.9559 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/1.545, allocations: 141.5 kB / 0.956 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008839/1.554, allocations: 2.374 MB / 0.9583 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001806/1.556, allocations: 0.7912 MB / 0.9591 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/1.557, allocations: 0.7806 MB / 0.9599 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008606/1.566, allocations: 4.829 MB / 0.9646 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.442e-06/1.566, allocations: 2.938 kB / 0.9646 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.694e-06/1.566, allocations: 0 / 0.9646 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001054/1.566, allocations: 0 / 0.9646 GB, free: 13.83 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.009324/1.576, allocations: 4.028 MB / 0.9685 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.576, allocations: 16.83 kB / 0.9685 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.586, allocations: 1.497 MB / 0.97 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00705/1.593, allocations: 2.935 MB / 0.9729 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009865/1.594, allocations: 389.1 kB / 0.9732 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007167/1.595, allocations: 251.7 kB / 0.9735 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009494/1.605, allocations: 3.091 MB / 0.9765 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-05/1.605, allocations: 9.312 kB / 0.9765 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/1.605, allocations: 95.8 kB / 0.9766 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-05/1.605, allocations: 82.61 kB / 0.9767 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/1.618, allocations: 3.058 MB / 0.9797 GB, free: 8.719 MB / 0.7292 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.04537/1.664, allocations: 13.52 MB / 0.9929 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/1.679, allocations: 2.813 MB / 0.9956 GB, free: 15.73 MB / 0.7449 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.02545/1.704, allocations: 5.977 MB / 1.001 GB, free: 12.27 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007313/1.711, allocations: 1.268 MB / 1.003 GB, free: 11.85 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004366/1.716, allocations: 0.6042 MB / 1.003 GB, free: 11.58 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=152): time 1.015e-05/1.716, allocations: 0 / 1.003 GB, free: 11.58 MB / 0.7449 GB Notification: Performance of matching and sorting (n=152): time 0.01964/1.735, allocations: 3.05 MB / 1.006 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/1.736, allocations: 259.2 kB / 1.007 GB, free: 10.59 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.748, allocations: 3.326 MB / 1.01 GB, free: 9.805 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.0005701/1.748, allocations: 66.23 kB / 1.01 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.002882/1.751, allocations: 1.606 MB / 1.011 GB, free: 9.188 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.753, allocations: 0.5033 MB / 1.012 GB, free: 8.82 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/1.753, allocations: 40.88 kB / 1.012 GB, free: 8.82 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0003543/1.753, allocations: 381.2 kB / 1.012 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006769/1.76, allocations: 1.021 MB / 1.013 GB, free: 8.297 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00591/1.766, allocations: 1.647 MB / 1.015 GB, free: 7.387 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/1.77, allocations: 1.202 MB / 1.016 GB, free: 7.148 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/1.77, allocations: 5.375 kB / 1.016 GB, free: 7.148 MB / 0.7449 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.01047/1.781, allocations: 3.063 MB / 1.019 GB, free: 6.406 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.003253/1.784, allocations: 5.975 MB / 1.025 GB, free: 124 kB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-05/1.784, allocations: 13.16 kB / 1.025 GB, free: 124 kB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/1.784, allocations: 55.39 kB / 1.025 GB, free: 104 kB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/1.788, allocations: 0.5886 MB / 1.026 GB, free: 0 / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/1.79, allocations: 1.355 MB / 1.027 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.795, allocations: 376.8 kB / 1.027 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/1.795, allocations: 107.8 kB / 1.027 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.795, allocations: 2.906 kB / 1.027 GB, free: 14.55 MB / 0.7605 GB Warning: The linear system: 1 : limPID.addSat.y = limPID.y - limPID.gainPID.y 2 : limPID.y = limPID.gainPID.y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ limPID.gainPID.y ; limPID.y ] = [ -limPID.addSat.y ; 0.0 ] might be structurally or numerically singular for variable limPID.y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009451/1.805, allocations: 2.796 MB / 1.03 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/1.805, allocations: 12 kB / 1.03 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/1.805, allocations: 44.22 kB / 1.03 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/1.809, allocations: 0.5577 MB / 1.031 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/1.811, allocations: 2.836 MB / 1.033 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/1.815, allocations: 331.1 kB / 1.034 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/1.816, allocations: 96.84 kB / 1.034 GB, free: 8.641 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 239 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002346/1.818, allocations: 0.7849 MB / 1.035 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.819, allocations: 347.2 kB / 1.035 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009094/1.828, allocations: 2.582 MB / 1.037 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/1.828, allocations: 18.38 kB / 1.037 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.291e-06/1.828, allocations: 7.938 kB / 1.037 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007349/1.836, allocations: 2.215 MB / 1.04 GB, free: 4.098 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.02019/1.856, allocations: 5.87 MB / 1.045 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/1.856, allocations: 4.5 kB / 1.045 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004808/1.861, allocations: 411.1 kB / 1.046 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.342e-05/1.861, allocations: 12 kB / 1.046 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/1.862, allocations: 56.91 kB / 1.046 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.385e-05/1.862, allocations: 8 kB / 1.046 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/1.862, allocations: 10.62 kB / 1.046 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02359/1.885, allocations: 4.379 MB / 1.05 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003886/1.889, allocations: 0.696 MB / 1.051 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/1.891, allocations: 37.38 kB / 1.051 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004094/1.895, allocations: 304.4 kB / 1.051 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.895, allocations: 121.2 kB / 1.051 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/1.896, allocations: 65.39 kB / 1.051 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005336/1.901, allocations: 2.284 MB / 1.054 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.149e-06/1.901, allocations: 0 / 1.054 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007473/1.908, allocations: 1.741 MB / 1.055 GB, free: 7.566 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,limPID.D.x,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003113/1.912, allocations: 1.058 MB / 1.056 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.925, allocations: 4.215 MB / 1.06 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.925, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/1.929, allocations: 1.094 MB / 1.061 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00887/1.938, allocations: 1.502 MB / 1.063 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/1.965, allocations: 7.944 MB / 1.071 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/1.97, allocations: 2.109 MB / 1.073 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01457/1.985, allocations: 0.8152 MB / 1.074 GB, free: 7.164 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/1.987, allocations: 278.1 kB / 1.074 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of SimCode: time 2.622e-06/1.987, allocations: 1.859 kB / 1.074 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of Templates: time 0.1659/2.153, allocations: 63.44 MB / 1.136 GB, free: 8.574 MB / 0.8542 GB