Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.307, allocations: 254.9 MB / 269.9 MB, free: 9.625 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.001296/0.001296, allocations: 189.5 kB / 329.5 MB, free: 1.148 MB / 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 2.522/2.522, allocations: 225.6 MB / 0.6001 GB, free: 468 kB / 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.0009517/0.0009518, allocations: 95.52 kB / 0.7074 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006415, allocations: 15.66 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2442, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003145/0.2475, allocations: 1.448 MB / 0.9322 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2494, allocations: 0.6129 MB / 0.9328 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.2495, allocations: 4 kB / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.2496, allocations: 7.922 kB / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2497, allocations: 11.86 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2509, allocations: 155.6 kB / 0.9329 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2511, allocations: 103.7 kB / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2513, allocations: 61 kB / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2515, allocations: 39.84 kB / 0.9331 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2516, allocations: 43.77 kB / 0.9332 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.2517, allocations: 4 kB / 0.9332 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2519, allocations: 43.97 kB / 0.9332 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.252, allocations: 23.89 kB / 0.9332 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.252, allocations: 37.64 kB / 0.9333 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2523, allocations: 92.06 kB / 0.9334 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.2523, allocations: 3.984 kB / 0.9334 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2523, allocations: 7.938 kB / 0.9334 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2523, allocations: 0 / 0.9334 GB, free: 22.16 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008971/0.2533, allocations: 411.2 kB / 0.9338 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2533, allocations: 8.031 kB / 0.9338 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.2554, allocations: 144.7 kB / 0.9339 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2556, allocations: 190.2 kB / 0.9341 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.2558, allocations: 67.95 kB / 0.9342 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.2558, allocations: 8.375 kB / 0.9342 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.2572, allocations: 193.4 kB / 0.9344 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2572, allocations: 4 kB / 0.9344 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.2573, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2573, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.259, allocations: 195.8 kB / 0.9346 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.2614, allocations: 0.4939 MB / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.2642, allocations: 266.3 kB / 0.9353 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/0.2652, allocations: 100.9 kB / 0.9354 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.2652, allocations: 7.969 kB / 0.9354 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2653, allocations: 34.56 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 4.308e-06/0.2653, allocations: 0 / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.002716/0.2681, allocations: 317.4 kB / 0.9357 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2681, allocations: 59.39 kB / 0.9358 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2683, allocations: 140.7 kB / 0.9359 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.2684, allocations: 25.7 kB / 0.9359 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.2685, allocations: 112.2 kB / 0.9361 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.2686, allocations: 19.66 kB / 0.9361 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.2686, allocations: 4 kB / 0.9361 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.2687, allocations: 318.8 kB / 0.9364 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/0.2696, allocations: 95.86 kB / 0.9365 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/0.2705, allocations: 114.5 kB / 0.9366 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.2714, allocations: 87.94 kB / 0.9367 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2714, allocations: 0 / 0.9367 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001882/0.2733, allocations: 237.4 kB / 0.9369 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.2734, allocations: 8 kB / 0.9369 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2734, allocations: 3.938 kB / 0.9369 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2734, allocations: 7.984 kB / 0.9369 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2742, allocations: 47.89 kB / 0.937 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.2742, allocations: 4 kB / 0.937 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.2747, allocations: 31.97 kB / 0.937 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.2748, allocations: 0 / 0.937 GB, free: 18.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.275, allocations: 121.8 kB / 0.9371 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.2751, allocations: 7.906 kB / 0.9371 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.277, allocations: 246.1 kB / 0.9373 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.277, allocations: 0 / 0.9373 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2771, allocations: 384 / 0.9373 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2771, allocations: 0 / 0.9373 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.2775, allocations: 238.3 kB / 0.9376 GB, free: 17.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2776, allocations: 8 kB / 0.9376 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.2782, allocations: 39.95 kB / 0.9376 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2782, allocations: 0 / 0.9376 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.2782, allocations: 7.938 kB / 0.9376 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2782, allocations: 0 / 0.9376 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.2783, allocations: 0 / 0.9376 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2801, allocations: 319.3 kB / 0.9379 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.2801, allocations: 89 kB / 0.938 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.2802, allocations: 7.875 kB / 0.938 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/0.281, allocations: 43.95 kB / 0.9381 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2811, allocations: 7.984 kB / 0.9381 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.2812, allocations: 11.98 kB / 0.9381 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001015/0.2813, allocations: 107.2 kB / 0.9382 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.22e-07/0.2813, allocations: 4 kB / 0.9382 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005483/0.2819, allocations: 20 kB / 0.9382 GB, free: 16.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.2821, allocations: 107.7 kB / 0.9383 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.2839, allocations: 199.8 kB / 0.9385 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2839, allocations: 0 / 0.9385 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.2848, allocations: 100 kB / 0.9386 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.2854, allocations: 8 kB / 0.9386 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2868, allocations: 301.3 kB / 0.9389 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.287, allocations: 0.7004 MB / 0.9396 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.2872, allocations: 12 kB / 0.9396 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2874, allocations: 19.36 kB / 0.9396 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/0.2874, allocations: 7.938 kB / 0.9396 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.007213/0.2946, allocations: 1.31 MB / 0.9409 GB, free: 14.07 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)