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.Binomial.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.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.195/2.195, allocations: 255 MB / 269.9 MB, free: 9.652 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.00141/0.00141, allocations: 190.7 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.469/2.469, allocations: 225.6 MB / 0.6001 GB, free: 2.156 MB / 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.0009744/0.000974, allocations: 103.2 kB / 0.7074 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006811/0.0006812, allocations: 15.97 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.274, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007596/0.2748, allocations: 314.1 kB / 0.9311 GB, free: 24.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000406/0.2752, allocations: 99.72 kB / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2752, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.2753, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-06/0.2753, allocations: 0 / 0.9312 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.2756, allocations: 35.89 kB / 0.9312 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2758, allocations: 55.94 kB / 0.9313 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.2758, allocations: 0 / 0.9313 GB, free: 24.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.2759, allocations: 31.95 kB / 0.9313 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.2759, allocations: 19.98 kB / 0.9313 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.276, allocations: 0 / 0.9313 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2761, allocations: 47.94 kB / 0.9314 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2761, allocations: 15.98 kB / 0.9314 GB, free: 24.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.2762, allocations: 33.64 kB / 0.9314 GB, free: 24.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.2763, allocations: 43.92 kB / 0.9314 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2763, allocations: 4 kB / 0.9314 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2763, allocations: 0 / 0.9314 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2763, allocations: 0 / 0.9314 GB, free: 24.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005551/0.2769, allocations: 363.4 kB / 0.9318 GB, free: 24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.277, allocations: 8.031 kB / 0.9318 GB, free: 23.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.277, allocations: 4.938 kB / 0.9318 GB, free: 23.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.2771, allocations: 168.6 kB / 0.932 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.2774, allocations: 281.6 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.2774, allocations: 4.375 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2778, allocations: 82.14 kB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2778, allocations: 3.938 kB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2778, allocations: 0 / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2779, allocations: 4 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.2785, allocations: 135.8 kB / 0.9325 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.2787, allocations: 177.6 kB / 0.9326 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.2792, allocations: 94.62 kB / 0.9327 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.2794, allocations: 41 kB / 0.9328 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.2795, allocations: 0 / 0.9328 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2795, allocations: 50.48 kB / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.2795, allocations: 0 / 0.9328 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008846/0.2804, allocations: 141.8 kB / 0.9329 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2805, allocations: 55.39 kB / 0.933 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.67e-05/0.2805, allocations: 89.86 kB / 0.9331 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2805, allocations: 33.7 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.56e-05/0.2806, allocations: 80.14 kB / 0.9332 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.2806, allocations: 35.45 kB / 0.9332 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.2806, allocations: 0 / 0.9332 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.2807, allocations: 326.8 kB / 0.9335 GB, free: 22 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.281, allocations: 31.97 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.2812, allocations: 36.03 kB / 0.9336 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.2815, allocations: 35.91 kB / 0.9336 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2815, allocations: 0 / 0.9336 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005735/0.2821, allocations: 105.6 kB / 0.9337 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2821, allocations: 11.94 kB / 0.9337 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2821, allocations: 3.938 kB / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2821, allocations: 4 kB / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.2824, allocations: 23.97 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2824, allocations: 0 / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2826, allocations: 15.84 kB / 0.9338 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.2826, allocations: 4 kB / 0.9338 GB, free: 21.73 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.917e-05/0.2827, allocations: 121.8 kB / 0.9339 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.2827, allocations: 7.938 kB / 0.9339 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.2828, allocations: 7.969 kB / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2828, allocations: 0 / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2828, allocations: 4 kB / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2828, allocations: 4 kB / 0.9339 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.283, allocations: 181.5 kB / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.283, allocations: 0 / 0.9341 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.2832, allocations: 23.98 kB / 0.9341 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.2832, allocations: 7.922 kB / 0.9341 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2833, allocations: 3.984 kB / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2833, allocations: 0 / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2833, allocations: 0 / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.2839, allocations: 145 kB / 0.9343 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.2839, allocations: 89.02 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2839, allocations: 7.922 kB / 0.9344 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.284, allocations: 8 kB / 0.9344 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.2841, allocations: 11.97 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2841, allocations: 4 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.2842, allocations: 75.28 kB / 0.9345 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2842, allocations: 0 / 0.9345 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002909/0.2845, allocations: 28 kB / 0.9345 GB, free: 20.91 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002195/0.2847, allocations: 131.1 kB / 0.9346 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.2853, allocations: 91.81 kB / 0.9347 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2853, allocations: 0 / 0.9347 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.2856, allocations: 47.91 kB / 0.9347 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2858, allocations: 8.859 kB / 0.9348 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.2863, allocations: 162.7 kB / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2865, allocations: 0.6827 MB / 0.9356 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.2867, allocations: 39.95 kB / 0.9356 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.2868, allocations: 23.42 kB / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of SimCode: time 8.41e-07/0.2868, allocations: 0 / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of Templates: time 0.003968/0.2908, allocations: 0.942 MB / 0.9366 GB, free: 18.73 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)