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.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") 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.272/1.272, allocations: 255.9 MB / 271.2 MB, free: 8.875 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.000929/0.000929, allocations: 186.2 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.355/1.355, allocations: 225.7 MB / 0.6016 GB, free: 1.645 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.0008596/0.0008598, allocations: 109.4 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 12.53 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 109.2 MB / 0.9327 GB, free: 6.277 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001404/0.1574, allocations: 1.456 MB / 0.9342 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.1581, allocations: 0.8467 MB / 0.935 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.1582, allocations: 8 kB / 0.935 GB, free: 3.891 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.1582, allocations: 3.938 kB / 0.935 GB, free: 3.887 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.1583, allocations: 19.78 kB / 0.935 GB, free: 3.867 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1587, allocations: 159.7 kB / 0.9352 GB, free: 3.711 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1588, allocations: 123.7 kB / 0.9353 GB, free: 3.59 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1589, allocations: 45.09 kB / 0.9353 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.159, allocations: 47.78 kB / 0.9354 GB, free: 3.5 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1591, allocations: 35.78 kB / 0.9354 GB, free: 3.465 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1591, allocations: 4 kB / 0.9354 GB, free: 3.461 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.1592, allocations: 39.97 kB / 0.9355 GB, free: 3.422 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.1592, allocations: 27.83 kB / 0.9355 GB, free: 3.395 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.1593, allocations: 73.42 kB / 0.9356 GB, free: 3.316 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1594, allocations: 135.8 kB / 0.9357 GB, free: 3.184 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1595, allocations: 0 / 0.9357 GB, free: 3.184 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1595, allocations: 0 / 0.9357 GB, free: 3.184 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1595, allocations: 4 kB / 0.9357 GB, free: 3.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003926/0.1599, allocations: 411.1 kB / 0.9361 GB, free: 2.73 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1599, allocations: 15.98 kB / 0.9361 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.1606, allocations: 140.7 kB / 0.9362 GB, free: 2.578 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.569e-05/0.1607, allocations: 184.1 kB / 0.9364 GB, free: 2.359 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.1608, allocations: 63.95 kB / 0.9365 GB, free: 2.285 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1608, allocations: 8.375 kB / 0.9365 GB, free: 2.277 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.1612, allocations: 201.5 kB / 0.9367 GB, free: 2.074 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1612, allocations: 0 / 0.9367 GB, free: 2.074 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1612, allocations: 3.984 kB / 0.9367 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1613, allocations: 3.938 kB / 0.9367 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.1618, allocations: 191.8 kB / 0.9369 GB, free: 1.879 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.1626, allocations: 0.5092 MB / 0.9374 GB, free: 1.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/0.1635, allocations: 266.3 kB / 0.9376 GB, free: 1.051 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1637, allocations: 100.9 kB / 0.9377 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1638, allocations: 0 / 0.9377 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.1638, allocations: 38.5 kB / 0.9377 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1638, allocations: 4 kB / 0.9377 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0008284/0.1646, allocations: 317.5 kB / 0.938 GB, free: 0.582 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.1647, allocations: 51.41 kB / 0.9381 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.1647, allocations: 141.1 kB / 0.9382 GB, free: 384 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1647, allocations: 25.7 kB / 0.9383 GB, free: 352 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1648, allocations: 112.1 kB / 0.9384 GB, free: 232 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1648, allocations: 27.66 kB / 0.9384 GB, free: 204 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1648, allocations: 0 / 0.9384 GB, free: 204 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.1649, allocations: 322.8 kB / 0.9387 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.1652, allocations: 87.92 kB / 0.9388 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1655, allocations: 122.4 kB / 0.9389 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.166, allocations: 194.7 kB / 0.9391 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.166, allocations: 3.938 kB / 0.9391 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006034/0.1666, allocations: 241.4 kB / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1666, allocations: 4 kB / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1667, allocations: 0 / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1667, allocations: 12 kB / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.1669, allocations: 43.89 kB / 0.9394 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1669, allocations: 4 kB / 0.9394 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1671, allocations: 31.97 kB / 0.9394 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1671, allocations: 3.984 kB / 0.9394 GB, free: 15.12 MB / 0.5886 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 (8): * Single equations (assignments): 8 * 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 8.071e-05/0.1672, allocations: 122.5 kB / 0.9395 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1673, allocations: 7.906 kB / 0.9395 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006397/0.1679, allocations: 254 kB / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1679, allocations: 0 / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1679, allocations: 0 / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1679, allocations: 0 / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1681, allocations: 238.3 kB / 0.94 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1682, allocations: 0 / 0.94 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1684, allocations: 47.95 kB / 0.9401 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1684, allocations: 0 / 0.9401 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1684, allocations: 7.938 kB / 0.9401 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1684, allocations: 0 / 0.9401 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1684, allocations: 3.984 kB / 0.9401 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.169, allocations: 311.3 kB / 0.9404 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.1691, allocations: 92.94 kB / 0.9405 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1691, allocations: 3.938 kB / 0.9405 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.1694, allocations: 47.95 kB / 0.9405 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1694, allocations: 4 kB / 0.9405 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1694, allocations: 8.172 kB / 0.9405 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.1695, allocations: 107.2 kB / 0.9406 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1695, allocations: 0 / 0.9406 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002105/0.1697, allocations: 20 kB / 0.9406 GB, free: 13.77 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 (6): * Single equations (assignments): 6 * 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.0001028/0.1698, allocations: 107.2 kB / 0.9407 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.1704, allocations: 203.8 kB / 0.9409 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1704, allocations: 0 / 0.9409 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1707, allocations: 100 kB / 0.941 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.171, allocations: 11.98 kB / 0.941 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1715, allocations: 313.4 kB / 0.9413 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.1718, allocations: 0.6965 MB / 0.942 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.005e-05/0.1719, allocations: 19.94 kB / 0.942 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.1719, allocations: 19.36 kB / 0.9421 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.1719, allocations: 0 / 0.9421 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.00295/0.1749, allocations: 1.357 MB / 0.9434 GB, free: 10.91 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)