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.ChillerSwitch.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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009136/0.009136, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001153/0.001153, allocations: 183.7 kB / 15.94 MB, free: 5.93 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 1.994/1.994, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.123/2.123, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008232/0.0008234, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6715, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.8549, allocations: 125.9 MB / 0.8063 GB, free: 376 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.8553, allocations: 95.94 kB / 0.8064 GB, free: 280 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005617/0.8609, allocations: 1.451 MB / 0.8078 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.657e-06/0.861, allocations: 0 / 0.8078 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.861, allocations: 4 kB / 0.8078 GB, free: 14.81 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005205/0.8615, allocations: 383.1 kB / 0.8082 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8616, allocations: 12.03 kB / 0.8082 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.8616, allocations: 15.84 kB / 0.8082 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.8618, allocations: 174.9 kB / 0.8084 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.8618, allocations: 4 kB / 0.8084 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8619, allocations: 7.938 kB / 0.8084 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.8621, allocations: 95.31 kB / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8622, allocations: 4 kB / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.8622, allocations: 0 / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.8622, allocations: 4 kB / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.8624, allocations: 55.95 kB / 0.8086 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.863, allocations: 332.7 kB / 0.8089 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.8632, allocations: 54.5 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.8633, allocations: 0 / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8633, allocations: 38.56 kB / 0.809 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.747e-06/0.8633, allocations: 4.078 kB / 0.809 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004392/0.8638, allocations: 121.5 kB / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.8638, allocations: 81.11 kB / 0.8092 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.864, allocations: 113.3 kB / 0.8093 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.864, allocations: 29.7 kB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.8641, allocations: 100 kB / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8641, allocations: 7.906 kB / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-06/0.8642, allocations: 0 / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8643, allocations: 322.8 kB / 0.8097 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.8644, allocations: 27.98 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.8646, allocations: 37.7 kB / 0.8098 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.8647, allocations: 31.92 kB / 0.8098 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-06/0.8647, allocations: 0 / 0.8098 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003019/0.865, allocations: 97.59 kB / 0.8099 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8651, allocations: 8 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.738e-06/0.8651, allocations: 0 / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.8651, allocations: 3.953 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.8652, allocations: 8 kB / 0.8099 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.004e-06/0.8653, allocations: 0 / 0.8099 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.8654, allocations: 23.92 kB / 0.8099 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.8654, allocations: 7.984 kB / 0.8099 GB, free: 12.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001166/0.8655, allocations: 117.8 kB / 0.8101 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.8656, allocations: 3.906 kB / 0.8101 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.8656, allocations: 12.25 kB / 0.8101 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.016e-06/0.8657, allocations: 3.953 kB / 0.8101 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8657, allocations: 7.875 kB / 0.8101 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8657, allocations: 4 kB / 0.8101 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.866, allocations: 189.8 kB / 0.8103 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-06/0.866, allocations: 4 kB / 0.8103 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.8661, allocations: 11.98 kB / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.668e-06/0.8661, allocations: 0 / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8661, allocations: 0 / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.134e-06/0.8661, allocations: 4 kB / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.8661, allocations: 7.891 kB / 0.8103 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.8665, allocations: 187.4 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.8666, allocations: 85.02 kB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.8666, allocations: 0 / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.8668, allocations: 19.98 kB / 0.8106 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.8668, allocations: 11.97 kB / 0.8106 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.8669, allocations: 3.953 kB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.8669, allocations: 104.8 kB / 0.8107 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.72e-07/0.867, allocations: 0 / 0.8107 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003192/0.8673, allocations: 12 kB / 0.8107 GB, free: 11.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001275/0.8674, allocations: 103.2 kB / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.8677, allocations: 67.95 kB / 0.8109 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.783e-06/0.8677, allocations: 0 / 0.8109 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.8679, allocations: 27.98 kB / 0.8109 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.8681, allocations: 10.69 kB / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.8686, allocations: 196.4 kB / 0.8111 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.869, allocations: 0.6965 MB / 0.8118 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.13e-05/0.869, allocations: 8.312 kB / 0.8118 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.8691, allocations: 11.44 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.661e-06/0.8691, allocations: 0 / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.003553/0.8727, allocations: 0.7172 MB / 0.8125 GB, free: 9.668 MB / 0.6355 GB