Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.642/1.642, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.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.0009927/0.0009927, allocations: 174.3 kB / 375.4 MB, free: 5.105 MB / 298.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.404/1.404, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007586/0.0007587, allocations: 103.4 kB / 0.7699 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004628, allocations: 12 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7169, allocations: 118.1 MB / 1.011 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002389/0.7194, allocations: 1.377 MB / 1.012 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000776/0.7202, allocations: 411.6 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.7203, allocations: 2.969 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.7203, allocations: 0.6562 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.7204, allocations: 17.77 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.7206, allocations: 21.06 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.7207, allocations: 70.66 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.7209, allocations: 27.72 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.721, allocations: 28.2 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.7211, allocations: 33.08 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.7212, allocations: 2.938 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.7212, allocations: 2.875 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.7212, allocations: 11.56 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.7213, allocations: 34.89 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.7214, allocations: 58.36 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7214, allocations: 0.5312 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7214, allocations: 2.938 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.371e-06/0.7214, allocations: 0.75 kB / 1.013 GB, free: 57.7 MB / 0.7136 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.0005538/0.722, allocations: 381 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.722, allocations: 8.156 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.7221, allocations: 8.875 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7222, allocations: 188.2 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.7222, allocations: 6.969 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.7223, allocations: 3.312 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.7225, allocations: 104.4 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7225, allocations: 4.5 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.7225, allocations: 1.516 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.7225, allocations: 1.281 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.7227, allocations: 60.25 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.7232, allocations: 328.8 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.7234, allocations: 57.47 kB / 1.014 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.7235, allocations: 36.25 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.7235, allocations: 3.719 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.7235, allocations: 34.09 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.7235, allocations: 0 / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003344/0.7239, allocations: 115.9 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7239, allocations: 80.05 kB / 1.014 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.724, allocations: 129.5 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.724, allocations: 29.39 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.7241, allocations: 102.6 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.7241, allocations: 7.812 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.7241, allocations: 3.438 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.7242, allocations: 324 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.7243, allocations: 25.41 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.7243, allocations: 48.3 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.7245, allocations: 54.83 kB / 1.015 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7245, allocations: 4.5 kB / 1.015 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001742/0.7247, allocations: 98.92 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7247, allocations: 2.719 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7247, allocations: 2.531 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7247, allocations: 0 / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.7248, allocations: 12.09 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7248, allocations: 4.5 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.7249, allocations: 20.12 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7249, allocations: 6.812 kB / 1.015 GB, free: 55.96 MB / 0.7136 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 7.139e-05/0.725, allocations: 112.2 kB / 1.015 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.725, allocations: 9.594 kB / 1.015 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.7251, allocations: 13.39 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7251, allocations: 4.062 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7251, allocations: 0 / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7251, allocations: 9.047 kB / 1.015 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.7253, allocations: 183.9 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.7253, allocations: 2.969 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.7254, allocations: 18.56 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7254, allocations: 0 / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7254, allocations: 6.969 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7254, allocations: 0 / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7254, allocations: 2.281 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.7256, allocations: 186.5 kB / 1.016 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.7257, allocations: 84.8 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.7257, allocations: 0 / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7258, allocations: 17.06 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.7258, allocations: 10.86 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.7259, allocations: 4.5 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.7259, allocations: 103.2 kB / 1.016 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7259, allocations: 0 / 1.016 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002083/0.7261, allocations: 17.81 kB / 1.016 GB, free: 55.32 MB / 0.7136 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.0001099/0.7263, allocations: 111.8 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.7265, allocations: 65.41 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7265, allocations: 3.062 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.7266, allocations: 27.16 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.7269, allocations: 9.281 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.7272, allocations: 206.8 kB / 1.016 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.7274, allocations: 0.693 MB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.7274, allocations: 2.531 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.7275, allocations: 19.67 kB / 1.017 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7275, allocations: 0 / 1.017 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.002778/0.7302, allocations: 0.7201 MB / 1.018 GB, free: 54.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)