Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.734/1.734, allocations: 291.7 MB / 306.8 MB, free: 7.703 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.00105/0.00105, allocations: 182.4 kB / 375.4 MB, free: 5.113 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.422/1.422, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0009074/0.0009076, allocations: 104.5 kB / 0.7699 GB, free: 50.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.836, allocations: 118.1 MB / 1.011 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007273/0.8368, allocations: 328.5 kB / 1.011 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.8381, allocations: 1.071 MB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.8381, allocations: 3.688 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.8382, allocations: 2 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.8384, allocations: 12.19 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.445e-06/0.8384, allocations: 0 / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.574e-05/0.8385, allocations: 8.234 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.8385, allocations: 0.6094 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.8385, allocations: 6.75 kB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.8386, allocations: 5.812 kB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.8386, allocations: 0.7031 kB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.8387, allocations: 15.7 kB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.8387, allocations: 0.5469 kB / 1.012 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.8387, allocations: 33.45 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.722e-05/0.8388, allocations: 12.45 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8388, allocations: 3.312 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8388, allocations: 0 / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8388, allocations: 0 / 1.012 GB, free: 57.57 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.0002052/0.839, allocations: 310.9 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.8391, allocations: 11.16 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.8391, allocations: 2.844 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.8392, allocations: 172.7 kB / 1.013 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.8392, allocations: 384 / 1.013 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.8392, allocations: 2.594 kB / 1.013 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.8393, allocations: 34.31 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8393, allocations: 0.625 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.8394, allocations: 6.391 kB / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8394, allocations: 0 / 1.013 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.8394, allocations: 15.77 kB / 1.013 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.8395, allocations: 152.9 kB / 1.013 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.8397, allocations: 32.44 kB / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.8397, allocations: 13.36 kB / 1.013 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.8399, allocations: 80.08 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.8399, allocations: 37.19 kB / 1.013 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.8399, allocations: 0 / 1.013 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.003773/0.8437, allocations: 0.5692 MB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.8437, allocations: 54.62 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.095e-05/0.8437, allocations: 89.86 kB / 1.014 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.8438, allocations: 30.33 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.8438, allocations: 81.27 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.8438, allocations: 21.38 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.8439, allocations: 0 / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.8439, allocations: 311.8 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.8444, allocations: 86.55 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.845, allocations: 104.5 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.846, allocations: 189.2 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.846, allocations: 4 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00107/0.8471, allocations: 214.6 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8471, allocations: 5.75 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8471, allocations: 2.625 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8471, allocations: 2.844 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.8475, allocations: 52.23 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8475, allocations: 1.719 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.8478, allocations: 41.83 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.8478, allocations: 0.7031 kB / 1.015 GB, free: 55.86 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 (5): * Single equations (assignments): 5 * 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 6.55e-05/0.8479, allocations: 119.8 kB / 1.015 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.8479, allocations: 8.359 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.8491, allocations: 236.9 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8491, allocations: 0.5156 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8492, allocations: 2.875 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8492, allocations: 1.266 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.8505, allocations: 454.3 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8505, allocations: 5.484 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.8508, allocations: 52.12 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8508, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8508, allocations: 1.938 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8508, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8508, allocations: 3 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.8519, allocations: 304.7 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.8519, allocations: 79.27 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.852, allocations: 4 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.8523, allocations: 37.7 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.8523, allocations: 5.906 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.8523, allocations: 7.984 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.8523, allocations: 75.28 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.212e-06/0.8523, allocations: 0 / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002273/0.8526, allocations: 19.12 kB / 1.016 GB, free: 55.02 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 (5): * Single equations (assignments): 5 * 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.0001676/0.8527, allocations: 106 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.8538, allocations: 184.6 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8538, allocations: 0 / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.8544, allocations: 97.05 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.8546, allocations: 1.125 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.8556, allocations: 223.2 kB / 1.017 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.8557, allocations: 0.6766 MB / 1.018 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.856, allocations: 26.75 kB / 1.018 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.856, allocations: 14.09 kB / 1.018 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.856, allocations: 2.969 kB / 1.018 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.002542/0.8586, allocations: 0.7856 MB / 1.018 GB, free: 54.03 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)