Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 179.3 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007787/0.0007785, allocations: 91.86 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.000312, allocations: 12 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.5619, allocations: 121.3 MB / 1.041 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002636/0.5646, allocations: 1.378 MB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.5656, allocations: 424 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.5657, allocations: 0 / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.5658, allocations: 2.172 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.5659, allocations: 12.8 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.5662, allocations: 32.83 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.5663, allocations: 77.55 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.5665, allocations: 21.31 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.5667, allocations: 25.62 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.5668, allocations: 36.92 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5669, allocations: 3.469 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.5669, allocations: 1.562 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.567, allocations: 9.219 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.567, allocations: 55.48 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.5672, allocations: 76.64 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5672, allocations: 0.7031 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5672, allocations: 5.531 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5673, allocations: 3.938 kB / 1.043 GB, free: 56.95 MB / 0.698 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.0006259/0.5679, allocations: 387.7 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.568, allocations: 6.75 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.568, allocations: 10.22 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5682, allocations: 177.6 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5682, allocations: 7.406 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.5682, allocations: 7.047 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.5686, allocations: 101.8 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5686, allocations: 0 / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.5686, allocations: 0.6562 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5687, allocations: 0 / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.569, allocations: 58.14 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.5696, allocations: 331.9 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.5698, allocations: 54.98 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.57, allocations: 36.03 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.57, allocations: 5.75 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5701, allocations: 32.75 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.5701, allocations: 0 / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0005753/0.5707, allocations: 118.4 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.5707, allocations: 78.17 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5709, allocations: 131 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5709, allocations: 29.7 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.571, allocations: 95.62 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.571, allocations: 14.8 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/0.5711, allocations: 0 / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.5711, allocations: 322.5 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.5713, allocations: 28.44 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.5715, allocations: 42.72 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.5717, allocations: 56.25 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5718, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003635/0.5721, allocations: 107.4 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5722, allocations: 5.188 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5722, allocations: 192 / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5722, allocations: 0 / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5724, allocations: 19.06 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5724, allocations: 7.875 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.5726, allocations: 18.14 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5726, allocations: 9.672 kB / 1.045 GB, free: 55.04 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/0.5727, allocations: 115.5 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.5728, allocations: 7.062 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.5729, allocations: 14.55 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5729, allocations: 0 / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5729, allocations: 0 / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5729, allocations: 3.562 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.5731, allocations: 186.1 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5732, allocations: 0 / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.5733, allocations: 20.42 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5733, allocations: 0 / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5734, allocations: 3.797 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5734, allocations: 0 / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5734, allocations: 0 / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.5737, allocations: 190.1 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.5738, allocations: 83.92 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.5738, allocations: 0 / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.574, allocations: 14.66 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.5741, allocations: 15.41 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5742, allocations: 0.625 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.5743, allocations: 103.2 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5743, allocations: 0 / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004037/0.5747, allocations: 14.47 kB / 1.046 GB, free: 54.35 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.5748, allocations: 112.9 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.5752, allocations: 61.16 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5753, allocations: 4 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.5754, allocations: 34.28 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.5759, allocations: 0 / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.5764, allocations: 217.4 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.5765, allocations: 0.6884 MB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.381e-05/0.5766, allocations: 7.953 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.5767, allocations: 8.875 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.5767, allocations: 0 / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of Templates: time 0.004676/0.5814, allocations: 0.7441 MB / 1.048 GB, free: 53.29 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)