Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 255.9 MB / 271.2 MB, free: 8.879 MB / 218.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.0009193/0.0009193, allocations: 186.6 kB / 330.8 MB, free: 476 kB / 250.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.293/1.293, allocations: 225.7 MB / 0.6016 GB, free: 15.88 MB / 442.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.0007693/0.0007693, allocations: 105.4 kB / 0.709 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8.812 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 109.2 MB / 0.9328 GB, free: 24.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001184/0.1556, allocations: 1.15 MB / 0.9339 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000425/0.156, allocations: 359.5 kB / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.1561, allocations: 4 kB / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1561, allocations: 0 / 0.9342 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.1561, allocations: 3.938 kB / 0.9342 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.1563, allocations: 11.98 kB / 0.9342 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.1563, allocations: 23.92 kB / 0.9343 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.1564, allocations: 3.984 kB / 0.9343 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.1565, allocations: 19.88 kB / 0.9343 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.1565, allocations: 11.92 kB / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1565, allocations: 3.938 kB / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.505e-06/0.1566, allocations: 0 / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1566, allocations: 4 kB / 0.9343 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.1566, allocations: 33.64 kB / 0.9343 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.635e-05/0.1567, allocations: 31.89 kB / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1567, allocations: 0 / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1567, allocations: 0 / 0.9344 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1567, allocations: 0 / 0.9344 GB, free: 22.43 MB / 0.5886 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.0002697/0.157, allocations: 335.7 kB / 0.9347 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.157, allocations: 13.11 kB / 0.9347 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.157, allocations: 4.938 kB / 0.9347 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.1571, allocations: 160.4 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1571, allocations: 8.375 kB / 0.9349 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1571, allocations: 4.375 kB / 0.9349 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1572, allocations: 45.98 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1572, allocations: 0 / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1572, allocations: 0 / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1573, allocations: 4 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1573, allocations: 23.92 kB / 0.9349 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.1576, allocations: 268.8 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.1576, allocations: 22.58 kB / 0.9352 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.1577, allocations: 24.91 kB / 0.9352 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1577, allocations: 4 kB / 0.9353 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.1577, allocations: 30.56 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1577, allocations: 0 / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.1579, allocations: 69.61 kB / 0.9353 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.1579, allocations: 55.41 kB / 0.9354 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.251e-05/0.158, allocations: 109.9 kB / 0.9355 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.158, allocations: 29.7 kB / 0.9355 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.158, allocations: 80.14 kB / 0.9356 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.158, allocations: 11.84 kB / 0.9356 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.158, allocations: 0 / 0.9356 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.1581, allocations: 310.8 kB / 0.9359 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.1581, allocations: 15.98 kB / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.1582, allocations: 12 kB / 0.9359 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.1582, allocations: 36.72 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1582, allocations: 0 / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.281e-05/0.1583, allocations: 57.67 kB / 0.936 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1583, allocations: 7.906 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1584, allocations: 4.094 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1584, allocations: 3.938 kB / 0.9361 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.1584, allocations: 8 kB / 0.9361 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1584, allocations: 0 / 0.9361 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.1585, allocations: 3.984 kB / 0.9361 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1585, allocations: 4 kB / 0.9361 GB, free: 20.48 MB / 0.5886 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 3.898e-05/0.1585, allocations: 114.4 kB / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1586, allocations: 3.906 kB / 0.9362 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.1586, allocations: 11.53 kB / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1586, allocations: 0 / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1586, allocations: 0 / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1586, allocations: 0 / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.194e-05/0.1587, allocations: 161.6 kB / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1587, allocations: 0 / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1587, allocations: 11.94 kB / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1588, allocations: 0 / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1588, allocations: 0 / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1588, allocations: 0 / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1588, allocations: 0 / 0.9364 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1589, allocations: 159.5 kB / 0.9365 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1589, allocations: 77.11 kB / 0.9366 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.1589, allocations: 4 kB / 0.9366 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.159, allocations: 0 / 0.9366 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.159, allocations: 12.02 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.159, allocations: 4.188 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.159, allocations: 87.28 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.159, allocations: 0 / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001866/0.1592, allocations: 4 kB / 0.9367 GB, free: 19.75 MB / 0.5886 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 6.312e-05/0.1593, allocations: 103.2 kB / 0.9368 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1594, allocations: 31.92 kB / 0.9368 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1594, allocations: 0 / 0.9368 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.1595, allocations: 15.98 kB / 0.9368 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.1597, allocations: 7.938 kB / 0.9368 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.1599, allocations: 128.5 kB / 0.937 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.871e-05/0.1599, allocations: 0.685 MB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.16, allocations: 3.938 kB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.16, allocations: 7.438 kB / 0.9376 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.16, allocations: 0 / 0.9376 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.001556/0.1616, allocations: 280.2 kB / 0.9379 GB, free: 18.43 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)