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.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") 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.642/1.642, allocations: 292.6 MB / 307.8 MB, free: 7.141 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.00101/0.00101, allocations: 184.5 kB / 376.5 MB, free: 4.426 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.361/1.361, allocations: 225.7 MB / 0.655 GB, free: 13.13 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.0007574/0.0007573, allocations: 102.3 kB / 0.7711 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 20 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/0.5206, allocations: 118.2 MB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001381/0.522, allocations: 1.151 MB / 1.014 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.5226, allocations: 430.7 kB / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.5226, allocations: 0 / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.5227, allocations: 3.938 kB / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.5227, allocations: 3.812 kB / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.5229, allocations: 22.19 kB / 1.014 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.523, allocations: 23.05 kB / 1.014 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.5231, allocations: 6.359 kB / 1.014 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.5232, allocations: 7.406 kB / 1.014 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.5232, allocations: 11.33 kB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.5233, allocations: 4.625 kB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.5233, allocations: 18.39 kB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.5234, allocations: 15.38 kB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.5234, allocations: 28.64 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.5235, allocations: 23.91 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5235, allocations: 3.25 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5235, allocations: 0 / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5235, allocations: 0 / 1.014 GB, free: 57.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004305/0.524, allocations: 343.3 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.524, allocations: 10.69 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.5241, allocations: 5.5 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.5242, allocations: 174.5 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5242, allocations: 1.969 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.5242, allocations: 384 / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5244, allocations: 63.48 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5244, allocations: 0 / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.5244, allocations: 0 / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5244, allocations: 5.156 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.5246, allocations: 41.8 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.5249, allocations: 258.7 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.525, allocations: 42.3 kB / 1.015 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.5251, allocations: 32.66 kB / 1.015 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.5252, allocations: 80.11 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5252, allocations: 33.44 kB / 1.015 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.5252, allocations: 2.406 kB / 1.015 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003271/0.5256, allocations: 99.59 kB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.5256, allocations: 54.06 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.5257, allocations: 104.5 kB / 1.015 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.5257, allocations: 25.7 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.5257, allocations: 88.05 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.5257, allocations: 4.609 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5257, allocations: 0 / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.5258, allocations: 318.1 kB / 1.016 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.5259, allocations: 24.94 kB / 1.016 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.526, allocations: 19.92 kB / 1.016 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.5261, allocations: 58.16 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5261, allocations: 3.5 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.5263, allocations: 78.12 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5263, allocations: 6.969 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5263, allocations: 0 / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5264, allocations: 4.047 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.5265, allocations: 11.53 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5265, allocations: 0 / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.5265, allocations: 9.375 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.5265, allocations: 3.281 kB / 1.016 GB, free: 55.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.808e-05/0.5266, allocations: 110.7 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.5266, allocations: 11.98 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.5268, allocations: 89.38 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5269, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5269, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5269, allocations: 3.234 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.527, allocations: 160.7 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.527, allocations: 1.531 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.5271, allocations: 16.22 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5271, allocations: 0 / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.5271, allocations: 0 / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5271, allocations: 1.875 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5271, allocations: 2.688 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.5273, allocations: 176.4 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.5273, allocations: 81.02 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5273, allocations: 1.891 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.5274, allocations: 11.86 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5275, allocations: 4.219 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5275, allocations: 0.6562 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.5275, allocations: 86.67 kB / 1.017 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5275, allocations: 0 / 1.017 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002051/0.5277, allocations: 7.688 kB / 1.017 GB, free: 54.85 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 (2): * Single equations (assignments): 2 * 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.0001544/0.5279, allocations: 104.7 kB / 1.017 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.5281, allocations: 49.19 kB / 1.017 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5281, allocations: 4.219 kB / 1.017 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.5282, allocations: 29.83 kB / 1.017 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.5285, allocations: 13.72 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.5287, allocations: 122.6 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.5289, allocations: 0.6751 MB / 1.018 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.5289, allocations: 5.531 kB / 1.018 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.5289, allocations: 8.094 kB / 1.018 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5289, allocations: 0.625 kB / 1.018 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.002188/0.5311, allocations: 495.9 kB / 1.018 GB, free: 53.91 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)