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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01652/0.01652, allocations: 106.5 kB / 15.05 MB, free: 5.984 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.001979/0.001979, allocations: 181.6 kB / 15.94 MB, free: 5.938 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.025/2.025, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.196/2.196, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004891, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7095, allocations: 98.7 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.965/8.674, allocations: 2.494 GB / 3.177 GB, free: 196 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/8.675, allocations: 114 kB / 3.177 GB, free: 195.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.067/17.74, allocations: 1.652 GB / 4.83 GB, free: 74.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/17.74, allocations: 0 / 4.83 GB, free: 74.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000728/17.74, allocations: 100.1 kB / 4.83 GB, free: 74.36 MB / 0.8855 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.01966/17.76, allocations: 4.659 MB / 4.834 GB, free: 72.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/17.76, allocations: 11.97 kB / 4.834 GB, free: 72.25 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001496/17.76, allocations: 324.3 kB / 4.835 GB, free: 72.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/17.78, allocations: 1.376 MB / 4.836 GB, free: 71.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/17.8, allocations: 4.208 MB / 4.84 GB, free: 71.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/17.8, allocations: 331.4 kB / 4.841 GB, free: 71.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/17.8, allocations: 255.5 kB / 4.841 GB, free: 71.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/17.81, allocations: 3.064 MB / 4.844 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/17.81, allocations: 3.562 kB / 4.844 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/17.81, allocations: 93.16 kB / 4.844 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/17.81, allocations: 93.77 kB / 4.844 GB, free: 70.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/17.83, allocations: 2.966 MB / 4.847 GB, free: 70.79 MB / 0.8855 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.03354/17.86, allocations: 12.87 MB / 4.859 GB, free: 65.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/17.87, allocations: 2.681 MB / 4.862 GB, free: 64.62 MB / 0.8855 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.01606/17.89, allocations: 5.522 MB / 4.867 GB, free: 62.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004564/17.89, allocations: 1.163 MB / 4.869 GB, free: 62.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002379/17.9, allocations: 248.9 kB / 4.869 GB, free: 62.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=146): time 6.503e-06/17.9, allocations: 2.844 kB / 4.869 GB, free: 62.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146): time 0.01423/17.91, allocations: 2.939 MB / 4.872 GB, free: 61.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/17.91, allocations: 229.6 kB / 4.872 GB, free: 61.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007758/17.92, allocations: 2.927 MB / 4.875 GB, free: 61.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000623/17.92, allocations: 61.14 kB / 4.875 GB, free: 61.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/17.92, allocations: 1.634 MB / 4.876 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008636/17.92, allocations: 0.4972 MB / 4.877 GB, free: 60.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/17.92, allocations: 35.5 kB / 4.877 GB, free: 60.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001472/17.92, allocations: 379.8 kB / 4.877 GB, free: 60.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/17.93, allocations: 0.9811 MB / 4.878 GB, free: 60.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/17.93, allocations: 1.649 MB / 4.88 GB, free: 59.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/17.94, allocations: 1.177 MB / 4.881 GB, free: 59.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/17.94, allocations: 7.562 kB / 4.881 GB, free: 59.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01331/17.95, allocations: 3.007 MB / 4.884 GB, free: 58.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00133/17.95, allocations: 5.89 MB / 4.89 GB, free: 52.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.177e-05/17.95, allocations: 14.59 kB / 4.89 GB, free: 52.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/17.95, allocations: 82.7 kB / 4.89 GB, free: 52.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/17.96, allocations: 0.5591 MB / 4.89 GB, free: 52.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007608/17.96, allocations: 0.6142 MB / 4.891 GB, free: 52.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/17.96, allocations: 362.2 kB / 4.891 GB, free: 51.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/17.97, allocations: 110.4 kB / 4.891 GB, free: 51.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/17.97, allocations: 9.25 kB / 4.891 GB, free: 51.98 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/17.98, allocations: 2.535 MB / 4.894 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/17.98, allocations: 22.22 kB / 4.894 GB, free: 51.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/17.98, allocations: 50.31 kB / 4.894 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/17.98, allocations: 0.5423 MB / 4.895 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/17.98, allocations: 1.322 MB / 4.896 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/17.99, allocations: 310.4 kB / 4.896 GB, free: 50.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006856/17.99, allocations: 101.6 kB / 4.896 GB, free: 50.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (238): * Single equations (assignments): 232 * 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.003057/17.99, allocations: 0.7933 MB / 4.897 GB, free: 50.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/17.99, allocations: 346.1 kB / 4.897 GB, free: 49.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/18.01, allocations: 2.539 MB / 4.9 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/18.01, allocations: 20.8 kB / 4.9 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/18.01, allocations: 0 / 4.9 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008892/18.02, allocations: 2.152 MB / 4.902 GB, free: 48.23 MB / 0.8855 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.02095/18.04, allocations: 5.525 MB / 4.907 GB, free: 45.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/18.04, allocations: 2.094 kB / 4.907 GB, free: 45.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003948/18.04, allocations: 385.9 kB / 4.908 GB, free: 45.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.88e-05/18.04, allocations: 13.91 kB / 4.908 GB, free: 45.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/18.04, allocations: 52.11 kB / 4.908 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/18.04, allocations: 10.88 kB / 4.908 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/18.04, allocations: 2.688 kB / 4.908 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/18.06, allocations: 3.956 MB / 4.912 GB, free: 43.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/18.06, allocations: 0.6831 MB / 4.912 GB, free: 43.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/18.06, allocations: 30.47 kB / 4.912 GB, free: 43.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005516/18.07, allocations: 273.7 kB / 4.913 GB, free: 43.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/18.07, allocations: 99.33 kB / 4.913 GB, free: 43.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/18.07, allocations: 76.66 kB / 4.913 GB, free: 43.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006944/18.07, allocations: 2.293 MB / 4.915 GB, free: 42.56 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.82e-07/18.07, allocations: 0 / 4.915 GB, free: 42.56 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01201/18.09, allocations: 2.036 MB / 4.917 GB, free: 42.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (155): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02364/18.11, allocations: 8.721 MB / 4.925 GB, free: 37.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01578/18.13, allocations: 3.918 MB / 4.929 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/18.13, allocations: 7.172 kB / 4.929 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004364/18.13, allocations: 1.007 MB / 4.93 GB, free: 35.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/18.14, allocations: 1.492 MB / 4.932 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/18.18, allocations: 18.89 MB / 4.95 GB, free: 20.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/18.18, allocations: 2.105 MB / 4.952 GB, free: 19.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006991/18.19, allocations: 0.829 MB / 4.953 GB, free: 18.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003863/18.19, allocations: 1.475 MB / 4.954 GB, free: 17.48 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/18.19, allocations: 0 / 4.954 GB, free: 17.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.12/19.31, allocations: 125.9 MB / 5.077 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/19.31, allocations: 293.7 kB / 5.078 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.027/28.34, allocations: 0 / 5.078 GB, free: 103.3 MB / 0.9167 GB