Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.292/2.292, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001268/0.001268, allocations: 193.1 kB / 329.5 MB, free: 1.16 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.61/2.61, allocations: 225.6 MB / 0.6001 GB, free: 496 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.001019/0.001019, allocations: 99.05 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 12.72 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.000753/0.2497, allocations: 322.1 kB / 0.9311 GB, free: 24.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2512, allocations: 1.073 MB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.2512, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.2512, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.2515, allocations: 15.92 kB / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.2515, allocations: 0 / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.2516, allocations: 4 kB / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.2517, allocations: 0 / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.2517, allocations: 11.92 kB / 0.9322 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.2517, allocations: 7.938 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.2517, allocations: 0 / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2518, allocations: 19.98 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.2519, allocations: 3.938 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.2519, allocations: 25.7 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.141e-05/0.252, allocations: 7.984 kB / 0.9322 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.252, allocations: 0 / 0.9322 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.943e-06/0.252, allocations: 0 / 0.9322 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.252, allocations: 0 / 0.9322 GB, free: 23.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002114/0.2522, allocations: 315.6 kB / 0.9325 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2523, allocations: 8.031 kB / 0.9325 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.2523, allocations: 4.938 kB / 0.9325 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.2524, allocations: 168.3 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2524, allocations: 384 / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2524, allocations: 4.375 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.917e-05/0.2525, allocations: 38 kB / 0.9327 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2526, allocations: 0 / 0.9327 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2526, allocations: 0 / 0.9327 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2526, allocations: 0 / 0.9327 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2527, allocations: 11.94 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2528, allocations: 153.7 kB / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.253, allocations: 38.61 kB / 0.9329 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.253, allocations: 8.859 kB / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.2532, allocations: 85.09 kB / 0.933 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.2532, allocations: 42.58 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.2533, allocations: 0 / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.00712/0.2604, allocations: 0.5678 MB / 0.9336 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2605, allocations: 63.33 kB / 0.9337 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.355e-05/0.2605, allocations: 89.86 kB / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2605, allocations: 25.7 kB / 0.9338 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.342e-05/0.2605, allocations: 80.14 kB / 0.9339 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.2606, allocations: 15.81 kB / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.2606, allocations: 0 / 0.9339 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.2607, allocations: 310.8 kB / 0.9342 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.2617, allocations: 83.95 kB / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2628, allocations: 106.5 kB / 0.9344 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2638, allocations: 87.95 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2638, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002149/0.266, allocations: 209.5 kB / 0.9346 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.266, allocations: 8 kB / 0.9347 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2661, allocations: 0 / 0.9347 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2661, allocations: 3.938 kB / 0.9347 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.2668, allocations: 52 kB / 0.9347 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2668, allocations: 7.922 kB / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.2674, allocations: 39.98 kB / 0.9348 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.2674, allocations: 4 kB / 0.9348 GB, free: 20.57 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 (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 9.117e-05/0.2675, allocations: 113.8 kB / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2676, allocations: 3.938 kB / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.2699, allocations: 241 kB / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2699, allocations: 0 / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2699, allocations: 4 kB / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2699, allocations: 256 / 0.9351 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.2723, allocations: 466.3 kB / 0.9355 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2724, allocations: 0 / 0.9355 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.273, allocations: 47.97 kB / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2731, allocations: 0 / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.2731, allocations: 0 / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2731, allocations: 0 / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2731, allocations: 4 kB / 0.9356 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.2753, allocations: 303.3 kB / 0.9359 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.2753, allocations: 81.11 kB / 0.936 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.2754, allocations: 4 kB / 0.936 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/0.276, allocations: 43.97 kB / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.2761, allocations: 4 kB / 0.936 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.2761, allocations: 0 / 0.936 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.2761, allocations: 75.28 kB / 0.9361 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2761, allocations: 0 / 0.9361 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003217/0.2765, allocations: 12 kB / 0.9361 GB, free: 19.09 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 (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.0001896/0.2767, allocations: 107.2 kB / 0.9362 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.2788, allocations: 183.8 kB / 0.9364 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2789, allocations: 4 kB / 0.9364 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.2806, allocations: 84.08 kB / 0.9365 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.281, allocations: 8 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2828, allocations: 222.7 kB / 0.9367 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.283, allocations: 0.6809 MB / 0.9373 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.2833, allocations: 31.98 kB / 0.9374 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.2835, allocations: 11.42 kB / 0.9374 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/0.2835, allocations: 0 / 0.9374 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of Templates: time 0.003411/0.2869, allocations: 0.793 MB / 0.9382 GB, free: 16.92 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)