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.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, 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.001389/0.001389, allocations: 180.8 kB / 329.5 MB, free: 1.168 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.56/2.56, allocations: 225.6 MB / 0.6001 GB, free: 492 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.001843/0.001843, allocations: 106.2 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.000653, allocations: 13.72 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2919, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007553/0.2927, allocations: 326.1 kB / 0.9311 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003973/0.2931, allocations: 143.7 kB / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.2931, allocations: 0 / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.2932, allocations: 0 / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.349e-05/0.2932, allocations: 0 / 0.9312 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2935, allocations: 39.89 kB / 0.9313 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.2935, allocations: 8 kB / 0.9313 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.2936, allocations: 4 kB / 0.9313 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2936, allocations: 3.984 kB / 0.9313 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.2937, allocations: 11.94 kB / 0.9313 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2937, allocations: 3.938 kB / 0.9313 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.2938, allocations: 39.89 kB / 0.9313 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2938, allocations: 8 kB / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.2939, allocations: 25.7 kB / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.311e-05/0.294, allocations: 11.97 kB / 0.9314 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.294, allocations: 4 kB / 0.9314 GB, free: 24.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.744e-06/0.294, allocations: 0 / 0.9314 GB, free: 24.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.294, allocations: 0 / 0.9314 GB, free: 24.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000338/0.2944, allocations: 335.5 kB / 0.9317 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2944, allocations: 8.031 kB / 0.9317 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2945, allocations: 4.938 kB / 0.9317 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.243e-05/0.2946, allocations: 168.4 kB / 0.9319 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2946, allocations: 384 / 0.9319 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.2946, allocations: 384 / 0.9319 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2947, allocations: 46.19 kB / 0.9319 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2948, allocations: 192 / 0.9319 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2948, allocations: 7.938 kB / 0.9319 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2948, allocations: 7.984 kB / 0.9319 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.2949, allocations: 11.98 kB / 0.9319 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.295, allocations: 166 kB / 0.9321 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2951, allocations: 46.5 kB / 0.9321 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.2952, allocations: 16.98 kB / 0.9322 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.2953, allocations: 89.08 kB / 0.9322 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2954, allocations: 30.56 kB / 0.9323 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.2954, allocations: 0 / 0.9323 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.001526/0.2969, allocations: 495.9 kB / 0.9327 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.2969, allocations: 51.41 kB / 0.9328 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.297, allocations: 89.86 kB / 0.9329 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.297, allocations: 25.7 kB / 0.9329 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.297, allocations: 88.14 kB / 0.933 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2971, allocations: 19.64 kB / 0.933 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.2971, allocations: 4 kB / 0.933 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.2972, allocations: 322.9 kB / 0.9333 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.2972, allocations: 15.92 kB / 0.9333 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.2973, allocations: 12 kB / 0.9333 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.2973, allocations: 15.98 kB / 0.9334 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2973, allocations: 0 / 0.9334 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.2975, allocations: 69.69 kB / 0.9334 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2975, allocations: 11.92 kB / 0.9334 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2975, allocations: 0 / 0.9334 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2976, allocations: 0 / 0.9334 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2977, allocations: 12 kB / 0.9335 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2977, allocations: 4 kB / 0.9335 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.2977, allocations: 0 / 0.9335 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2978, allocations: 4 kB / 0.9335 GB, free: 21.8 MB / 0.5886 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 (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 6.364e-05/0.2978, allocations: 113.8 kB / 0.9336 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.2979, allocations: 11.92 kB / 0.9336 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.2981, allocations: 81.86 kB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2981, allocations: 7.938 kB / 0.9337 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2981, allocations: 4 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2981, allocations: 0 / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2983, allocations: 162.1 kB / 0.9338 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2983, allocations: 0 / 0.9338 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2984, allocations: 23.92 kB / 0.9338 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2984, allocations: 3.938 kB / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2984, allocations: 4 kB / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2985, allocations: 0 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2985, allocations: 0 / 0.9339 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2987, allocations: 113.2 kB / 0.934 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.2987, allocations: 88.98 kB / 0.934 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.2988, allocations: 0 / 0.934 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.2988, allocations: 4 kB / 0.9341 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.2989, allocations: 7.984 kB / 0.9341 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2989, allocations: 4 kB / 0.9341 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.2989, allocations: 75.28 kB / 0.9341 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2989, allocations: 3.938 kB / 0.9341 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002792/0.2992, allocations: 36.14 kB / 0.9342 GB, free: 20.97 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0002398/0.2995, allocations: 139.2 kB / 0.9343 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2996, allocations: 35.98 kB / 0.9343 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2996, allocations: 0 / 0.9343 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.2997, allocations: 27.92 kB / 0.9344 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.2999, allocations: 7.938 kB / 0.9344 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.3002, allocations: 152.9 kB / 0.9345 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.3004, allocations: 0.6809 MB / 0.9352 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.334e-05/0.3004, allocations: 7.75 kB / 0.9352 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3005, allocations: 11.44 kB / 0.9352 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.3005, allocations: 0 / 0.9352 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.003906/0.3044, allocations: 0.8468 MB / 0.936 GB, free: 19.01 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)