Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") 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.246/1.246, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.0008775/0.0008777, allocations: 189.5 kB / 330.8 MB, free: 472 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.336/1.336, allocations: 225.7 MB / 0.6016 GB, free: 15.92 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.0006864/0.0006864, allocations: 113.4 kB / 0.709 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002857, allocations: 11.12 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1592, allocations: 109.2 MB / 0.9327 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001217/0.1605, allocations: 1.178 MB / 0.9339 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1612, allocations: 0.8402 MB / 0.9347 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.1613, allocations: 0 / 0.9347 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1613, allocations: 3.938 kB / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.1613, allocations: 7.922 kB / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1616, allocations: 31.97 kB / 0.9348 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.1616, allocations: 31.86 kB / 0.9348 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.1617, allocations: 8 kB / 0.9348 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1618, allocations: 15.91 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1618, allocations: 11.94 kB / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.1618, allocations: 0 / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.424e-05/0.1619, allocations: 55.95 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.162, allocations: 0 / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.162, allocations: 37.62 kB / 0.9349 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1621, allocations: 63.84 kB / 0.935 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1621, allocations: 0 / 0.935 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1621, allocations: 4 kB / 0.935 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.1622, allocations: 3.938 kB / 0.935 GB, free: 21.73 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.0003114/0.1625, allocations: 347.7 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1625, allocations: 15.98 kB / 0.9353 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1625, allocations: 0.9375 kB / 0.9353 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.1626, allocations: 168.3 kB / 0.9355 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1626, allocations: 384 / 0.9355 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1626, allocations: 384 / 0.9355 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1628, allocations: 57.94 kB / 0.9355 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.1628, allocations: 0 / 0.9355 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-06/0.1628, allocations: 0 / 0.9355 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1628, allocations: 3.984 kB / 0.9355 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.1629, allocations: 23.98 kB / 0.9356 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.1631, allocations: 260.9 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.018e-05/0.1632, allocations: 26.56 kB / 0.9358 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.1633, allocations: 20.86 kB / 0.9359 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.1639, allocations: 0.4897 MB / 0.9363 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1639, allocations: 38.56 kB / 0.9364 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1639, allocations: 0 / 0.9364 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.1642, allocations: 69.58 kB / 0.9364 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.1642, allocations: 51.41 kB / 0.9365 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.1642, allocations: 117.9 kB / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1643, allocations: 29.7 kB / 0.9366 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.1643, allocations: 84.14 kB / 0.9367 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1643, allocations: 11.89 kB / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1643, allocations: 0 / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/0.1643, allocations: 314.8 kB / 0.937 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.1644, allocations: 12 kB / 0.937 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.1644, allocations: 11.98 kB / 0.9371 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.1645, allocations: 40.84 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1645, allocations: 0 / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.294e-05/0.1646, allocations: 53.69 kB / 0.9371 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1646, allocations: 8 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1646, allocations: 3.938 kB / 0.9372 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1646, allocations: 4.031 kB / 0.9372 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.1647, allocations: 7.984 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1647, allocations: 3.938 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.1648, allocations: 8 kB / 0.9372 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1648, allocations: 0 / 0.9372 GB, free: 19.17 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 4.125e-05/0.1648, allocations: 114.4 kB / 0.9373 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1648, allocations: 0 / 0.9373 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.165, allocations: 73.19 kB / 0.9374 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.165, allocations: 0 / 0.9374 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.165, allocations: 4 kB / 0.9374 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.165, allocations: 3.984 kB / 0.9374 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.1651, allocations: 161.5 kB / 0.9375 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1651, allocations: 0 / 0.9375 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1652, allocations: 11.98 kB / 0.9375 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1652, allocations: 0 / 0.9375 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1652, allocations: 8.031 kB / 0.9375 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1652, allocations: 0 / 0.9375 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1652, allocations: 3.938 kB / 0.9375 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1653, allocations: 151.5 kB / 0.9377 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.1653, allocations: 85.09 kB / 0.9378 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1653, allocations: 0 / 0.9378 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.1654, allocations: 8.031 kB / 0.9378 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1654, allocations: 0 / 0.9378 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1654, allocations: 0 / 0.9378 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.1655, allocations: 91.27 kB / 0.9379 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.9379 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001901/0.1657, allocations: 12 kB / 0.9379 GB, free: 18.36 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 0.0001178/0.1658, allocations: 119.2 kB / 0.938 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1659, allocations: 35.92 kB / 0.938 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1659, allocations: 3.938 kB / 0.938 GB, free: 18.19 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.166, allocations: 15.98 kB / 0.938 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.1662, allocations: 15.78 kB / 0.9381 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.1664, allocations: 144.7 kB / 0.9382 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.1665, allocations: 0.677 MB / 0.9389 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.1665, allocations: 4 kB / 0.9389 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.1665, allocations: 7.438 kB / 0.9389 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/0.1665, allocations: 0 / 0.9389 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of Templates: time 0.001979/0.1685, allocations: 0.6389 MB / 0.9395 GB, free: 16.64 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)