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.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") 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.26/1.26, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.0009802/0.0009802, allocations: 182.1 kB / 330.8 MB, free: 496 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.331/1.331, allocations: 225.7 MB / 0.6016 GB, free: 1.641 MB / 426.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.0007211/0.000721, allocations: 99.66 kB / 0.709 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 11.94 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 109.2 MB / 0.9327 GB, free: 6.309 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001222/0.1584, allocations: 1.178 MB / 0.9339 GB, free: 5.121 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.1588, allocations: 298.7 kB / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1588, allocations: 0 / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.1589, allocations: 3.938 kB / 0.9342 GB, free: 4.785 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.1589, allocations: 8 kB / 0.9342 GB, free: 4.777 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1591, allocations: 19.92 kB / 0.9342 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.1592, allocations: 47.83 kB / 0.9343 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.1593, allocations: 20 kB / 0.9343 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.1593, allocations: 19.86 kB / 0.9343 GB, free: 4.672 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.1593, allocations: 11.92 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.1594, allocations: 4 kB / 0.9343 GB, free: 4.656 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.1594, allocations: 27.98 kB / 0.9343 GB, free: 4.629 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1595, allocations: 11.92 kB / 0.9344 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.1595, allocations: 41.62 kB / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.1596, allocations: 51.8 kB / 0.9344 GB, free: 4.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1596, allocations: 4 kB / 0.9344 GB, free: 4.516 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1596, allocations: 0 / 0.9344 GB, free: 4.516 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.1596, allocations: 0 / 0.9344 GB, free: 4.516 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003152/0.1599, allocations: 359.7 kB / 0.9348 GB, free: 4.113 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.16, allocations: 15.97 kB / 0.9348 GB, free: 4.098 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.1609, allocations: 240.6 kB / 0.935 GB, free: 3.863 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.161, allocations: 180.2 kB / 0.9352 GB, free: 3.648 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.161, allocations: 4.375 kB / 0.9352 GB, free: 3.645 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.161, allocations: 4.312 kB / 0.9352 GB, free: 3.641 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.1615, allocations: 214 kB / 0.9354 GB, free: 3.426 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1615, allocations: 192 / 0.9354 GB, free: 3.426 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1615, allocations: 3.938 kB / 0.9354 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1615, allocations: 0 / 0.9354 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.1623, allocations: 319.6 kB / 0.9357 GB, free: 3.109 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.163, allocations: 461.1 kB / 0.9362 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.1639, allocations: 334.2 kB / 0.9365 GB, free: 2.273 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.1642, allocations: 124.8 kB / 0.9366 GB, free: 2.148 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1643, allocations: 3.984 kB / 0.9366 GB, free: 2.145 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.1643, allocations: 38.56 kB / 0.9366 GB, free: 2.098 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1643, allocations: 0 / 0.9366 GB, free: 2.098 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.00101/0.1653, allocations: 369.2 kB / 0.937 GB, free: 1.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1653, allocations: 51.41 kB / 0.937 GB, free: 1.668 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.1654, allocations: 121.8 kB / 0.9372 GB, free: 1.539 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1654, allocations: 29.7 kB / 0.9372 GB, free: 1.504 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.1654, allocations: 88.12 kB / 0.9373 GB, free: 1.414 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1655, allocations: 12.22 kB / 0.9373 GB, free: 1.402 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1655, allocations: 0 / 0.9373 GB, free: 1.402 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.1655, allocations: 318.8 kB / 0.9376 GB, free: 1.082 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.1659, allocations: 111.9 kB / 0.9377 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1662, allocations: 124 kB / 0.9378 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.1668, allocations: 212.7 kB / 0.938 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1668, allocations: 0 / 0.938 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006398/0.1674, allocations: 257.3 kB / 0.9383 GB, free: 392 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1674, allocations: 4 kB / 0.9383 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1674, allocations: 0 / 0.9383 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1675, allocations: 4 kB / 0.9383 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.1677, allocations: 43.94 kB / 0.9383 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1677, allocations: 0 / 0.9383 GB, free: 340 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1679, allocations: 43.95 kB / 0.9384 GB, free: 296 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1679, allocations: 0 / 0.9384 GB, free: 296 kB / 0.573 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 (3): * Single equations (assignments): 3 * 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 6.386e-05/0.168, allocations: 118.4 kB / 0.9385 GB, free: 168 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.168, allocations: 8 kB / 0.9385 GB, free: 160 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.168, allocations: 3.906 kB / 0.9385 GB, free: 152 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.168, allocations: 4 kB / 0.9385 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1681, allocations: 0 / 0.9385 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1681, allocations: 4 kB / 0.9385 GB, free: 144 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1683, allocations: 217.5 kB / 0.9387 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1683, allocations: 0 / 0.9387 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.1685, allocations: 43.94 kB / 0.9387 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1685, allocations: 3.938 kB / 0.9387 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1685, allocations: 0 / 0.9387 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1685, allocations: 4 kB / 0.9387 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1685, allocations: 0 / 0.9387 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.1693, allocations: 347.2 kB / 0.9391 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1693, allocations: 89 kB / 0.9392 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1694, allocations: 4 kB / 0.9392 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1696, allocations: 39.89 kB / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.1696, allocations: 0 / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1696, allocations: 0 / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1697, allocations: 99.27 kB / 0.9393 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1697, allocations: 0 / 0.9393 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002014/0.1699, allocations: 12 kB / 0.9393 GB, free: 15.21 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 (3): * Single equations (assignments): 3 * 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.0001081/0.17, allocations: 115.4 kB / 0.9394 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007161/0.1707, allocations: 231.8 kB / 0.9396 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1708, allocations: 4 kB / 0.9396 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.1711, allocations: 119.8 kB / 0.9398 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1713, allocations: 8 kB / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.1722, allocations: 292.5 kB / 0.94 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1724, allocations: 0.6926 MB / 0.9407 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.214e-05/0.1725, allocations: 16.23 kB / 0.9407 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1725, allocations: 15.44 kB / 0.9407 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/0.1725, allocations: 3.938 kB / 0.9408 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of Templates: time 0.002394/0.1749, allocations: 0.8357 MB / 0.9416 GB, free: 12.84 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)