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.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") 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.239/1.239, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.001033/0.001033, allocations: 195.5 kB / 330.8 MB, free: 464 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.318/1.318, allocations: 225.7 MB / 0.6016 GB, free: 1.531 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.0007217/0.0007217, allocations: 107.5 kB / 0.709 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 19.92 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 109.2 MB / 0.9328 GB, free: 6.215 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005591/0.15, allocations: 318.1 kB / 0.9331 GB, free: 5.906 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1511, allocations: 1.156 MB / 0.9342 GB, free: 4.715 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.1511, allocations: 0 / 0.9342 GB, free: 4.715 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.1511, allocations: 0 / 0.9342 GB, free: 4.715 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1513, allocations: 12 kB / 0.9342 GB, free: 4.703 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 2.165e-06/0.1513, allocations: 0 / 0.9342 GB, free: 4.703 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 2.904e-05/0.1513, allocations: 11.91 kB / 0.9342 GB, free: 4.691 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.1514, allocations: 4 kB / 0.9342 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.1514, allocations: 0 / 0.9342 GB, free: 4.688 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.036e-05/0.1514, allocations: 7.938 kB / 0.9342 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.1514, allocations: 3.938 kB / 0.9342 GB, free: 4.676 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.1515, allocations: 15.98 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1515, allocations: 0 / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.1516, allocations: 33.62 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 6.542e-05/0.1516, allocations: 15.98 kB / 0.9343 GB, free: 4.605 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1517, allocations: 0 / 0.9343 GB, free: 4.605 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1517, allocations: 0 / 0.9343 GB, free: 4.605 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1517, allocations: 3.938 kB / 0.9343 GB, free: 4.602 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001837/0.1519, allocations: 315.6 kB / 0.9346 GB, free: 4.246 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1519, allocations: 15.98 kB / 0.9346 GB, free: 4.23 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1519, allocations: 0.9375 kB / 0.9346 GB, free: 4.23 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.556e-05/0.152, allocations: 160.4 kB / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.152, allocations: 4.375 kB / 0.9348 GB, free: 4.031 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.152, allocations: 384 / 0.9348 GB, free: 4.031 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.174e-05/0.1521, allocations: 42 kB / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1521, allocations: 0 / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.1521, allocations: 0 / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1522, allocations: 0 / 0.9348 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.1522, allocations: 7.938 kB / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.943e-05/0.1523, allocations: 157.7 kB / 0.935 GB, free: 3.773 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1525, allocations: 34.61 kB / 0.935 GB, free: 3.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.1525, allocations: 8.859 kB / 0.935 GB, free: 3.719 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1526, allocations: 77.2 kB / 0.9351 GB, free: 3.625 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1526, allocations: 42.48 kB / 0.9351 GB, free: 3.574 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.1526, allocations: 3.984 kB / 0.9351 GB, free: 3.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=5): time 0.003494/0.1561, allocations: 0.5756 MB / 0.9357 GB, free: 2.988 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.1562, allocations: 55.34 kB / 0.9358 GB, free: 2.922 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.539e-05/0.1562, allocations: 89.86 kB / 0.9358 GB, free: 2.824 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1562, allocations: 29.7 kB / 0.9359 GB, free: 2.789 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.1562, allocations: 80.14 kB / 0.9359 GB, free: 2.707 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1563, allocations: 11.81 kB / 0.936 GB, free: 2.695 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.1563, allocations: 0 / 0.936 GB, free: 2.695 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.1563, allocations: 314.8 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.1568, allocations: 83.95 kB / 0.9363 GB, free: 2.297 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.1573, allocations: 106.5 kB / 0.9364 GB, free: 2.184 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.1582, allocations: 190.4 kB / 0.9366 GB, free: 1.988 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1582, allocations: 0 / 0.9366 GB, free: 1.988 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009829/0.1592, allocations: 213.5 kB / 0.9368 GB, free: 1.773 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1592, allocations: 11.91 kB / 0.9368 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1592, allocations: 0 / 0.9368 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1592, allocations: 3.984 kB / 0.9368 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1596, allocations: 52 kB / 0.9369 GB, free: 1.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1596, allocations: 11.86 kB / 0.9369 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.1599, allocations: 35.98 kB / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1599, allocations: 4 kB / 0.9369 GB, free: 1.656 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 5.14e-05/0.1599, allocations: 114.5 kB / 0.937 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.16, allocations: 4.125 kB / 0.937 GB, free: 1.531 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.1611, allocations: 245 kB / 0.9373 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1611, allocations: 0 / 0.9373 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1611, allocations: 0 / 0.9373 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1611, allocations: 4 kB / 0.9373 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1622, allocations: 466.3 kB / 0.9377 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1623, allocations: 0 / 0.9377 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.1626, allocations: 47.97 kB / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1626, allocations: 0 / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1626, allocations: 4 kB / 0.9378 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1626, allocations: 0 / 0.9378 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1626, allocations: 4 kB / 0.9378 GB, free: 0.707 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.1636, allocations: 299.4 kB / 0.9381 GB, free: 408 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.1636, allocations: 77.11 kB / 0.9381 GB, free: 312 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1637, allocations: 8 kB / 0.9382 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.164, allocations: 35.97 kB / 0.9382 GB, free: 268 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.164, allocations: 8 kB / 0.9382 GB, free: 260 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.164, allocations: 0 / 0.9382 GB, free: 260 kB / 0.573 GB Notification: Performance of sorting global known variables: time 1.146e-05/0.164, allocations: 83.25 kB / 0.9383 GB, free: 176 kB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 0.9383 GB, free: 176 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002034/0.1642, allocations: 12 kB / 0.9383 GB, free: 164 kB / 0.573 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 (5): * Single equations (assignments): 5 * 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.0001219/0.1643, allocations: 117.2 kB / 0.9384 GB, free: 40 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.1654, allocations: 183.9 kB / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1654, allocations: 0 / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.166, allocations: 92.02 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1661, allocations: 3.984 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.1671, allocations: 222.6 kB / 0.9389 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1673, allocations: 0.6731 MB / 0.9395 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.1676, allocations: 31.91 kB / 0.9396 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.1676, allocations: 19.42 kB / 0.9396 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.1676, allocations: 0 / 0.9396 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of Templates: time 0.002362/0.17, allocations: 0.7987 MB / 0.9404 GB, free: 13.98 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)