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.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.643/1.643, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.0009485/0.0009487, allocations: 175 kB / 393.1 MB, free: 4.078 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.316/1.316, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.000766/0.000766, allocations: 89.89 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 12 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4856, allocations: 121.3 MB / 1.041 GB, free: 58.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001271/0.4869, allocations: 1.147 MB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004513/0.4874, allocations: 365.5 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.4875, allocations: 1.406 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.4875, allocations: 5.25 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.4875, allocations: 1.719 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.4876, allocations: 8.875 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.4877, allocations: 23.39 kB / 1.042 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.4878, allocations: 11.16 kB / 1.042 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.4879, allocations: 19.75 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.4879, allocations: 11.56 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.4879, allocations: 0 / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.4879, allocations: 1.906 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.488, allocations: 0 / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.488, allocations: 37.25 kB / 1.042 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.673e-05/0.4881, allocations: 22.59 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4881, allocations: 0 / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4881, allocations: 0 / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4881, allocations: 0.5312 kB / 1.042 GB, free: 57.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002621/0.4884, allocations: 335.2 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.4884, allocations: 13.06 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.4884, allocations: 6.719 kB / 1.043 GB, free: 57.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.407e-05/0.4885, allocations: 165.9 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.4885, allocations: 384 / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.4885, allocations: 1.094 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4886, allocations: 56.2 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.4887, allocations: 0 / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.4887, allocations: 2.172 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.4887, allocations: 0.9375 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.4888, allocations: 24.05 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.489, allocations: 249.8 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.4891, allocations: 35.47 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.4891, allocations: 29.39 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4892, allocations: 0 / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.4892, allocations: 33.28 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4892, allocations: 0.9062 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.4894, allocations: 76.75 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.4894, allocations: 51.41 kB / 1.044 GB, free: 56.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.4895, allocations: 107.2 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.4895, allocations: 29.27 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.4895, allocations: 82.44 kB / 1.044 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.4895, allocations: 7.906 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4895, allocations: 2.688 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.4896, allocations: 312.1 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.4896, allocations: 15.55 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.4897, allocations: 12.03 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.4898, allocations: 35.81 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4898, allocations: 2.281 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.4899, allocations: 51.91 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4899, allocations: 9.281 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4899, allocations: 1.125 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.4899, allocations: 0.5312 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.49, allocations: 10.86 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.49, allocations: 0 / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.49, allocations: 2.922 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4901, allocations: 0 / 1.044 GB, free: 56.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.047e-05/0.4901, allocations: 120.8 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4901, allocations: 5.047 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.4901, allocations: 9.672 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4902, allocations: 0.5625 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4902, allocations: 1.469 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.4902, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4903, allocations: 158.9 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4903, allocations: 2.672 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.4903, allocations: 10.5 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4903, allocations: 0 / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4904, allocations: 0 / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4904, allocations: 7.625 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4904, allocations: 3.703 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.4905, allocations: 154.7 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.4905, allocations: 81.14 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4905, allocations: 1.031 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.4906, allocations: 1.875 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.4906, allocations: 6.781 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4906, allocations: 4.453 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.152e-05/0.4907, allocations: 82.7 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4907, allocations: 0 / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002106/0.4909, allocations: 3.656 kB / 1.045 GB, free: 55.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.136e-05/0.491, allocations: 115.3 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4911, allocations: 27 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4911, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.4911, allocations: 9.438 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4913, allocations: 7.938 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.4916, allocations: 137 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.651e-05/0.4917, allocations: 0.6765 MB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.4917, allocations: 3.203 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.4917, allocations: 7.438 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.4917, allocations: 2.969 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of Templates: time 0.001712/0.4934, allocations: 283.8 kB / 1.046 GB, free: 54.48 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)