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.00498/0.004985, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.00119/0.001189, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.951/3.951, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.97/3.97, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006398, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1941, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8378/1.032, allocations: 125.9 MB / 1.228 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.032, allocations: 100.5 kB / 1.228 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005955/1.038, allocations: 1.437 MB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.608e-06/1.038, allocations: 0 / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.038, allocations: 3.938 kB / 1.229 GB, free: 26.44 MB / 0.6198 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.0005583/1.039, allocations: 395.7 kB / 1.23 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.039, allocations: 8.031 kB / 1.23 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/1.039, allocations: 15.64 kB / 1.23 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.039, allocations: 176.1 kB / 1.23 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/1.039, allocations: 2.938 kB / 1.23 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/1.039, allocations: 7.438 kB / 1.23 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/1.04, allocations: 99.28 kB / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.04, allocations: 0 / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.04, allocations: 0 / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.04, allocations: 4 kB / 1.23 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/1.04, allocations: 58.08 kB / 1.23 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/1.041, allocations: 331 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/1.041, allocations: 50.88 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/1.041, allocations: 36.27 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/1.041, allocations: 4 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/1.041, allocations: 34.52 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/1.041, allocations: 0 / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005046/1.041, allocations: 121 kB / 1.23 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.042, allocations: 77.11 kB / 1.23 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.042, allocations: 129.7 kB / 1.231 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.042, allocations: 29.33 kB / 1.231 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/1.042, allocations: 100.3 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/1.042, allocations: 18.98 kB / 1.231 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/1.042, allocations: 0 / 1.231 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.042, allocations: 320.5 kB / 1.231 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.042, allocations: 26.53 kB / 1.231 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.042, allocations: 44.38 kB / 1.231 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/1.042, allocations: 28.05 kB / 1.231 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.042, allocations: 0 / 1.231 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000345/1.043, allocations: 100.1 kB / 1.231 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.043, allocations: 9.172 kB / 1.231 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.043, allocations: 4 kB / 1.231 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.043, allocations: 1.219 kB / 1.231 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/1.043, allocations: 10.34 kB / 1.231 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.043, allocations: 0.75 kB / 1.231 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/1.043, allocations: 22.64 kB / 1.231 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/1.043, allocations: 0.6562 kB / 1.231 GB, free: 24.34 MB / 0.6198 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.0001525/1.044, allocations: 117.2 kB / 1.231 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/1.044, allocations: 8.562 kB / 1.231 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/1.044, allocations: 20.27 kB / 1.231 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.044, allocations: 0 / 1.231 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.044, allocations: 2 kB / 1.231 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.044, allocations: 0 / 1.231 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/1.044, allocations: 185.4 kB / 1.232 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.044, allocations: 0 / 1.232 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/1.044, allocations: 17.86 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.044, allocations: 0 / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.044, allocations: 2.578 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.044, allocations: 7.781 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.044, allocations: 0.75 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/1.044, allocations: 185.1 kB / 1.232 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/1.045, allocations: 86.66 kB / 1.232 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/1.045, allocations: 4.281 kB / 1.232 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.045, allocations: 18.19 kB / 1.232 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/1.045, allocations: 12.64 kB / 1.232 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/1.045, allocations: 5.281 kB / 1.232 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006663/1.046, allocations: 102.5 kB / 1.232 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/1.046, allocations: 0 / 1.232 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003611/1.046, allocations: 12 kB / 1.232 GB, free: 39.59 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.0001567/1.046, allocations: 105.8 kB / 1.232 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003622/1.046, allocations: 64.58 kB / 1.232 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.046, allocations: 0 / 1.232 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/1.047, allocations: 34.75 kB / 1.232 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/1.047, allocations: 4.406 kB / 1.232 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/1.048, allocations: 198.1 kB / 1.232 GB, free: 39.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.048, allocations: 0.6992 MB / 1.233 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.016e-05/1.048, allocations: 6.438 kB / 1.233 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/1.048, allocations: 12.09 kB / 1.233 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.048, allocations: 0 / 1.233 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.004082/1.052, allocations: 0.7171 MB / 1.234 GB, free: 38.17 MB / 0.6355 GB