Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.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.0008878/0.0008878, allocations: 182 kB / 382.3 MB, free: 14.84 MB / 314.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.335/1.335, allocations: 225.7 MB / 0.6617 GB, free: 7.199 MB / 490.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.0008224/0.0008228, allocations: 90.78 kB / 0.7789 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003112, allocations: 12 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5576, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002763/0.5604, allocations: 1.455 MB / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.562, allocations: 0.8652 MB / 1.025 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.562, allocations: 2.156 kB / 1.025 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.5621, allocations: 7.312 kB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.5622, allocations: 10.34 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.563, allocations: 158.8 kB / 1.025 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.5632, allocations: 115.9 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.5634, allocations: 51.38 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.5636, allocations: 39.78 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.5637, allocations: 44.97 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.5637, allocations: 4.969 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.5639, allocations: 42.27 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.564, allocations: 27.7 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.5641, allocations: 67.55 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.5644, allocations: 129.6 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5644, allocations: 1.656 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5644, allocations: 1.406 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5644, allocations: 0 / 1.025 GB, free: 56.5 MB / 0.698 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.0007053/0.5652, allocations: 416 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5652, allocations: 10.89 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.5666, allocations: 146.8 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.5668, allocations: 189.7 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.5669, allocations: 66.25 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.567, allocations: 7.438 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.5679, allocations: 198.1 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5679, allocations: 0 / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.568, allocations: 1.156 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.568, allocations: 2.906 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.5691, allocations: 204.8 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.5708, allocations: 0.4897 MB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.5725, allocations: 268.5 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.573, allocations: 100.5 kB / 1.027 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.5731, allocations: 9.359 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5731, allocations: 32.12 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.5731, allocations: 0 / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001486/0.5746, allocations: 317.1 kB / 1.028 GB, free: 55.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.5747, allocations: 57.03 kB / 1.028 GB, free: 55.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.5748, allocations: 140.5 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5748, allocations: 25.7 kB / 1.028 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.5749, allocations: 112.3 kB / 1.028 GB, free: 54.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.5749, allocations: 17.5 kB / 1.028 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.575, allocations: 0 / 1.028 GB, free: 54.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.575, allocations: 321.6 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.5755, allocations: 94.73 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.5759, allocations: 109.6 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.5768, allocations: 199.9 kB / 1.029 GB, free: 54.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5768, allocations: 1.75 kB / 1.029 GB, free: 54.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008932/0.5777, allocations: 236.4 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5778, allocations: 6.531 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5778, allocations: 7 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5778, allocations: 7.344 kB / 1.029 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5781, allocations: 50.53 kB / 1.029 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5782, allocations: 0 / 1.029 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5784, allocations: 38.38 kB / 1.029 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5784, allocations: 4.047 kB / 1.029 GB, free: 54.25 MB / 0.698 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.663e-05/0.5785, allocations: 117.7 kB / 1.029 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.5786, allocations: 12.22 kB / 1.029 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/0.5795, allocations: 244.7 kB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5795, allocations: 0 / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5795, allocations: 5.781 kB / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5795, allocations: 0.8438 kB / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.5798, allocations: 226.1 kB / 1.03 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5798, allocations: 2.25 kB / 1.03 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.5801, allocations: 43.02 kB / 1.03 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5801, allocations: 0 / 1.03 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.5801, allocations: 6.094 kB / 1.03 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5801, allocations: 4.844 kB / 1.03 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5801, allocations: 5.438 kB / 1.03 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.5808, allocations: 318 kB / 1.03 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.5809, allocations: 83.89 kB / 1.03 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5809, allocations: 5.062 kB / 1.03 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.5812, allocations: 46.3 kB / 1.03 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.5813, allocations: 4.125 kB / 1.03 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5813, allocations: 10.55 kB / 1.03 GB, free: 53.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.5814, allocations: 103.8 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5814, allocations: 0 / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002321/0.5816, allocations: 28.62 kB / 1.03 GB, free: 53.43 MB / 0.698 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.0001087/0.5817, allocations: 106.4 kB / 1.03 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.5823, allocations: 204.9 kB / 1.03 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5823, allocations: 0 / 1.03 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.5826, allocations: 97.42 kB / 1.031 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.5829, allocations: 12.33 kB / 1.031 GB, free: 53.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.5835, allocations: 315.9 kB / 1.031 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.5837, allocations: 0.7061 MB / 1.032 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.754e-05/0.5838, allocations: 15 kB / 1.032 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.5838, allocations: 13.83 kB / 1.032 GB, free: 52.35 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.5838, allocations: 0 / 1.032 GB, free: 52.35 MB / 0.698 GB Notification: Performance of Templates: time 0.003274/0.5871, allocations: 1.368 MB / 1.033 GB, free: 52.25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)