Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009822/0.009826, allocations: 88.06 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001815/0.001815, allocations: 171.7 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.171/2.171, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.445/2.445, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006896/0.0006898, allocations: 15.62 kB / 0.6243 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3119, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 1.082/1.394, allocations: 231 MB / 0.9536 GB, free: 12.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.08979/1.484, allocations: 25.35 MB / 0.9784 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009041/1.493, allocations: 123.1 kB / 0.9785 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.01537/1.509, allocations: 2.017 MB / 0.9805 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.03245/1.541, allocations: 4.779 MB / 0.9852 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0303/1.571, allocations: 4.324 MB / 0.9894 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02189/1.593, allocations: 5.357 MB / 0.9946 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009342/1.603, allocations: 2.457 MB / 0.997 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01475/1.618, allocations: 2.962 MB / 0.9999 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007771/1.625, allocations: 1.91 MB / 1.002 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001968/1.627, allocations: 143.9 kB / 1.002 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.643, allocations: 2.364 MB / 1.004 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002725/1.646, allocations: 0.7978 MB / 1.005 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/1.648, allocations: 0.7692 MB / 1.006 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/1.661, allocations: 4.836 MB / 1.01 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.661, allocations: 0 / 1.01 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.497e-06/1.661, allocations: 0 / 1.01 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001939/1.661, allocations: 0 / 1.01 GB, free: 6.93 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01357/1.675, allocations: 3.966 MB / 1.014 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.675, allocations: 8.031 kB / 1.014 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/1.676, allocations: 320.5 kB / 1.015 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/1.693, allocations: 1.49 MB / 1.016 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/1.703, allocations: 2.91 MB / 1.019 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001731/1.705, allocations: 396.2 kB / 1.019 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/1.706, allocations: 243.9 kB / 1.02 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/1.719, allocations: 3.073 MB / 1.023 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/1.719, allocations: 7.891 kB / 1.023 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/1.719, allocations: 92 kB / 1.023 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.719, allocations: 88.25 kB / 1.023 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/1.735, allocations: 3.038 MB / 1.026 GB, free: 6.969 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 preOpt removeSimpleEquations (simulation): time 0.04097/1.776, allocations: 13.46 MB / 1.039 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/1.789, allocations: 2.858 MB / 1.042 GB, free: 5.766 MB / 0.7761 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.02236/1.812, allocations: 5.946 MB / 1.047 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00634/1.818, allocations: 1.268 MB / 1.049 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00388/1.822, allocations: 0.6032 MB / 1.049 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=150): time 1.155e-05/1.822, allocations: 0 / 1.049 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150): time 0.01641/1.839, allocations: 3.02 MB / 1.052 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.839, allocations: 252.6 kB / 1.052 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009017/1.848, allocations: 3.32 MB / 1.056 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005282/1.848, allocations: 65.7 kB / 1.056 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.851, allocations: 1.594 MB / 1.057 GB, free: 5.223 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.852, allocations: 0.5045 MB / 1.058 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.852, allocations: 40 kB / 1.058 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002469/1.853, allocations: 381.8 kB / 1.058 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/1.858, allocations: 1.011 MB / 1.059 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00648/1.865, allocations: 1.625 MB / 1.061 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006084/1.871, allocations: 1.138 MB / 1.062 GB, free: 272 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/1.871, allocations: 4 kB / 1.062 GB, free: 268 kB / 0.7917 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01467/1.886, allocations: 2.93 MB / 1.065 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002591/1.888, allocations: 6.017 MB / 1.071 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-05/1.888, allocations: 20 kB / 1.071 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.638e-05/1.889, allocations: 28 kB / 1.071 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/1.894, allocations: 0.5656 MB / 1.071 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.027e-05/1.894, allocations: 31.92 kB / 1.071 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006459/1.901, allocations: 380 kB / 1.072 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007117/1.901, allocations: 95.95 kB / 1.072 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.901, allocations: 4 kB / 1.072 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01214/1.914, allocations: 2.518 MB / 1.074 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/1.914, allocations: 16.72 kB / 1.074 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/1.914, allocations: 24.14 kB / 1.074 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/1.919, allocations: 0.5461 MB / 1.075 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.176e-05/1.919, allocations: 27.88 kB / 1.075 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0068/1.926, allocations: 350.4 kB / 1.075 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/1.926, allocations: 91.95 kB / 1.075 GB, free: 2.172 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (240): * Single equations (assignments): 237 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002967/1.929, allocations: 0.7904 MB / 1.076 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.931, allocations: 339.8 kB / 1.076 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.944, allocations: 2.558 MB / 1.079 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/1.944, allocations: 16 kB / 1.079 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.944, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01014/1.954, allocations: 2.205 MB / 1.081 GB, free: 12.16 MB / 0.823 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.0225/1.976, allocations: 5.868 MB / 1.087 GB, free: 6.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.976, allocations: 7.938 kB / 1.087 GB, free: 6.152 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004238/1.981, allocations: 411.9 kB / 1.087 GB, free: 5.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-05/1.981, allocations: 8 kB / 1.087 GB, free: 5.742 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/1.981, allocations: 55.95 kB / 1.087 GB, free: 5.688 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/1.981, allocations: 12 kB / 1.087 GB, free: 5.676 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.981, allocations: 7.938 kB / 1.087 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.999, allocations: 4.38 MB / 1.091 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/2.001, allocations: 0.6878 MB / 1.092 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/2.003, allocations: 36 kB / 1.092 GB, free: 368 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005702/2.008, allocations: 307.5 kB / 1.092 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/2.009, allocations: 109.2 kB / 1.093 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003765/2.009, allocations: 79.92 kB / 1.093 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006863/2.016, allocations: 2.28 MB / 1.095 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.002e-06/2.016, allocations: 0 / 1.095 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008893/2.025, allocations: 1.727 MB / 1.097 GB, free: 11.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,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 (161): * Single equations (assignments): 150 * 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.02182/2.047, allocations: 6.947 MB / 1.103 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01714/2.064, allocations: 3.734 MB / 1.107 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/2.064, allocations: 4.688 kB / 1.107 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/2.069, allocations: 1.086 MB / 1.108 GB, free: 68 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/2.082, allocations: 1.512 MB / 1.11 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03798/2.12, allocations: 19.2 MB / 1.128 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/2.124, allocations: 2.107 MB / 1.13 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00688/2.13, allocations: 0.8267 MB / 1.131 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003925/2.134, allocations: 1.472 MB / 1.133 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of SimCode: time 1.974e-06/2.134, allocations: 7.938 kB / 1.133 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.912/3.047, allocations: 91.82 MB / 1.222 GB, free: 314 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/3.047, allocations: 264.2 kB / 1.223 GB, free: 313.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/10.35, allocations: 3.125 kB / 1.223 GB, free: 313.7 MB / 0.9011 GB