Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 292.6 MB / 307.8 MB, free: 7.16 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.001012/0.001012, allocations: 181.4 kB / 376.5 MB, free: 4.449 MB / 298.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.334/1.334, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.000767/0.0007669, allocations: 101.4 kB / 0.7711 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 12.62 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5868, allocations: 118.2 MB / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002244/0.5891, allocations: 1.444 MB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.5904, allocations: 0.6066 MB / 1.014 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.5905, allocations: 0.875 kB / 1.014 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.5905, allocations: 12.61 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.5906, allocations: 18.55 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.5913, allocations: 147.7 kB / 1.015 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.5915, allocations: 104.7 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.5917, allocations: 46.81 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.5918, allocations: 47.48 kB / 1.015 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.5919, allocations: 34.06 kB / 1.015 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.592, allocations: 7.438 kB / 1.015 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.5921, allocations: 39.31 kB / 1.015 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.5922, allocations: 25.61 kB / 1.015 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.5923, allocations: 67.45 kB / 1.015 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5924, allocations: 97.73 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5925, allocations: 0 / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5925, allocations: 1.375 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5925, allocations: 0 / 1.015 GB, free: 57.17 MB / 0.7136 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.0005608/0.593, allocations: 421.2 kB / 1.015 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5931, allocations: 8.812 kB / 1.015 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.5942, allocations: 147.2 kB / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.5944, allocations: 178.2 kB / 1.016 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5945, allocations: 65.98 kB / 1.016 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.5945, allocations: 9.781 kB / 1.016 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.5954, allocations: 200.7 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5954, allocations: 0 / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.5954, allocations: 0 / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5955, allocations: 2.719 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.5965, allocations: 196.6 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.598, allocations: 0.5005 MB / 1.017 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5996, allocations: 270.8 kB / 1.017 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.6002, allocations: 99.95 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.6002, allocations: 9.812 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.6003, allocations: 36.77 kB / 1.017 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.6003, allocations: 1 kB / 1.017 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001671/0.602, allocations: 319.7 kB / 1.017 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.602, allocations: 51.41 kB / 1.017 GB, free: 56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.6021, allocations: 133.5 kB / 1.018 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.6022, allocations: 28.67 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.6022, allocations: 110.2 kB / 1.018 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.6023, allocations: 20.88 kB / 1.018 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.6023, allocations: 1.25 kB / 1.018 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.6024, allocations: 322.2 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.6029, allocations: 91.52 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.6034, allocations: 118.6 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.6044, allocations: 193.9 kB / 1.018 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6044, allocations: 2.469 kB / 1.018 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001108/0.6055, allocations: 232 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6055, allocations: 5.344 kB / 1.019 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6056, allocations: 7.531 kB / 1.019 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6056, allocations: 3.938 kB / 1.019 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.606, allocations: 48.28 kB / 1.019 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6061, allocations: 2.969 kB / 1.019 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.6064, allocations: 39.02 kB / 1.019 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.6064, allocations: 6.328 kB / 1.019 GB, free: 55.32 MB / 0.7136 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.0001079/0.6066, allocations: 112.7 kB / 1.019 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.6067, allocations: 10.72 kB / 1.019 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.6078, allocations: 247.8 kB / 1.019 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6078, allocations: 0.8438 kB / 1.019 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6078, allocations: 0 / 1.019 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6079, allocations: 0 / 1.019 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.6082, allocations: 237.3 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6082, allocations: 2.312 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.6086, allocations: 45.92 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6086, allocations: 1.172 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.6087, allocations: 6.094 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6087, allocations: 0 / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6087, allocations: 1.406 kB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.6097, allocations: 316.7 kB / 1.02 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.6098, allocations: 85.12 kB / 1.02 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.6098, allocations: 9.594 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.6102, allocations: 46.72 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.6103, allocations: 5.328 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.6103, allocations: 10.25 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.782e-05/0.6104, allocations: 109.2 kB / 1.02 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.6104, allocations: 0 / 1.02 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003897/0.6108, allocations: 25.31 kB / 1.02 GB, free: 54.62 MB / 0.7136 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.00012/0.6109, allocations: 106.8 kB / 1.02 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.612, allocations: 204.9 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.612, allocations: 4.125 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.6126, allocations: 93.16 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.6131, allocations: 15.95 kB / 1.02 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.614, allocations: 299.9 kB / 1.021 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.6141, allocations: 0.6992 MB / 1.021 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.6143, allocations: 13.59 kB / 1.021 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.6144, allocations: 20.64 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.6144, allocations: 3.938 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.005161/0.6196, allocations: 1.322 MB / 1.023 GB, free: 53.57 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)