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.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.803/1.803, allocations: 291.7 MB / 306.8 MB, free: 7.727 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.001049/0.001049, allocations: 185.5 kB / 375.4 MB, free: 5.117 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.391/1.391, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008496/0.0008496, allocations: 105.4 kB / 0.7699 GB, free: 50.28 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004267, allocations: 10.47 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7591, allocations: 118.1 MB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001482/0.7606, allocations: 1.148 MB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005342/0.7612, allocations: 361 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.7612, allocations: 1.312 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.7612, allocations: 1.031 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.7613, allocations: 4.719 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.7614, allocations: 7.188 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.7615, allocations: 18.55 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.7616, allocations: 13.28 kB / 1.012 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.7617, allocations: 11.48 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.7618, allocations: 9 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.7618, allocations: 1.188 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.7618, allocations: 0 / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.7618, allocations: 9.516 kB / 1.012 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.7618, allocations: 25.7 kB / 1.012 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.565e-05/0.7619, allocations: 23.44 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7619, allocations: 0.9375 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7619, allocations: 0.6875 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.7619, allocations: 1.875 kB / 1.012 GB, free: 57.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003395/0.7623, allocations: 331.8 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7623, allocations: 10.34 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.7624, allocations: 7.5 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.7625, allocations: 170.6 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.7625, allocations: 5.156 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.7625, allocations: 1.562 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7626, allocations: 47.23 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.7626, allocations: 3.656 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.7627, allocations: 4.469 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7627, allocations: 4.531 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.7628, allocations: 18.62 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.763, allocations: 253.7 kB / 1.013 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.7631, allocations: 26.52 kB / 1.013 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.7632, allocations: 28.42 kB / 1.013 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.7632, allocations: 1.422 kB / 1.013 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.7632, allocations: 32.73 kB / 1.013 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.736e-06/0.7632, allocations: 1.281 kB / 1.013 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.7635, allocations: 67.89 kB / 1.013 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.7635, allocations: 53.3 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.7636, allocations: 106 kB / 1.014 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.7636, allocations: 27.36 kB / 1.014 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.7636, allocations: 84.78 kB / 1.014 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.7636, allocations: 4.609 kB / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.7636, allocations: 0 / 1.014 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.7637, allocations: 317.2 kB / 1.014 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.7637, allocations: 15.97 kB / 1.014 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.7638, allocations: 12.53 kB / 1.014 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.033e-05/0.7639, allocations: 32.36 kB / 1.014 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7639, allocations: 0 / 1.014 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/0.764, allocations: 58.05 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.764, allocations: 7.156 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.764, allocations: 0 / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.764, allocations: 6.719 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.7641, allocations: 6.5 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7641, allocations: 2.781 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.7642, allocations: 6.25 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.7642, allocations: 8.875 kB / 1.014 GB, free: 55.79 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.7642, allocations: 114.3 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.7643, allocations: 2.906 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.7643, allocations: 8.984 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7643, allocations: 3.531 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7643, allocations: 0.5312 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7643, allocations: 2.672 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.7644, allocations: 166.5 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7644, allocations: 2.062 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.7645, allocations: 7.062 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7645, allocations: 0 / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.7645, allocations: 0.7969 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7645, allocations: 1.812 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7645, allocations: 0 / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.7646, allocations: 156.6 kB / 1.015 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.7647, allocations: 81.02 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.7647, allocations: 1.625 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.7648, allocations: 10.72 kB / 1.015 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.7648, allocations: 6.891 kB / 1.015 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.7648, allocations: 0 / 1.015 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.7648, allocations: 80.19 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7648, allocations: 0 / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001943/0.765, allocations: 5.344 kB / 1.015 GB, free: 55.17 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: 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 (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 9.855e-05/0.7651, allocations: 111.5 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.7653, allocations: 20.48 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7653, allocations: 5.375 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.7653, allocations: 12.67 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.7655, allocations: 8.359 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.7658, allocations: 137.2 kB / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.7659, allocations: 0.6776 MB / 1.016 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.7659, allocations: 4.625 kB / 1.016 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.766, allocations: 11.38 kB / 1.016 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.766, allocations: 0 / 1.016 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.001813/0.7678, allocations: 270.6 kB / 1.016 GB, free: 54.26 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)