Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01753/0.01754, allocations: 222.5 kB / 15.17 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001836/0.001837, allocations: 184.5 kB / 16.07 MB, free: 5.859 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.963/3.963, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.815/3.815, allocations: 472.3 MB / 0.9018 GB, free: 18.79 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007816/0.0007818, allocations: 14.81 kB / 1.008 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2189, allocations: 98.71 MB / 1.104 GB, free: 10.67 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007059/0.2197, allocations: 313.4 kB / 1.104 GB, free: 10.36 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003522/0.2201, allocations: 93.92 kB / 1.104 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.2201, allocations: 1.406 kB / 1.104 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.2202, allocations: 3.938 kB / 1.104 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-06/0.2202, allocations: 0 / 1.104 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2204, allocations: 31.89 kB / 1.104 GB, free: 10.23 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2206, allocations: 61.12 kB / 1.105 GB, free: 10.18 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2206, allocations: 3.984 kB / 1.105 GB, free: 10.17 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.2207, allocations: 19.98 kB / 1.105 GB, free: 10.15 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.2207, allocations: 20.59 kB / 1.105 GB, free: 10.13 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2208, allocations: 4 kB / 1.105 GB, free: 10.13 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2209, allocations: 44.61 kB / 1.105 GB, free: 10.09 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.221, allocations: 20.75 kB / 1.105 GB, free: 10.07 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.221, allocations: 29.7 kB / 1.105 GB, free: 10.03 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2211, allocations: 43.86 kB / 1.105 GB, free: 9.988 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.324e-06/0.2211, allocations: 5.031 kB / 1.105 GB, free: 9.984 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.938e-06/0.2212, allocations: 3.938 kB / 1.105 GB, free: 9.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.132e-06/0.2212, allocations: 4.875 kB / 1.105 GB, free: 9.977 MB / 0.573 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.0005063/0.2217, allocations: 352.3 kB / 1.105 GB, free: 9.586 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2217, allocations: 8.75 kB / 1.105 GB, free: 9.578 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2218, allocations: 7.953 kB / 1.105 GB, free: 9.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2219, allocations: 164.5 kB / 1.105 GB, free: 9.371 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.2223, allocations: 285 kB / 1.105 GB, free: 9.031 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.2223, allocations: 4.531 kB / 1.105 GB, free: 9.027 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.2226, allocations: 78.39 kB / 1.106 GB, free: 8.945 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-06/0.2226, allocations: 0 / 1.106 GB, free: 8.945 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2226, allocations: 1.281 kB / 1.106 GB, free: 8.945 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-06/0.2227, allocations: 3.953 kB / 1.106 GB, free: 8.941 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.2231, allocations: 147.7 kB / 1.106 GB, free: 8.797 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.2233, allocations: 170.4 kB / 1.106 GB, free: 8.582 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2237, allocations: 99.28 kB / 1.106 GB, free: 8.477 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2239, allocations: 41.7 kB / 1.106 GB, free: 8.434 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.2239, allocations: 7.984 kB / 1.106 GB, free: 8.426 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.224, allocations: 40.59 kB / 1.106 GB, free: 8.379 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 2.4e-06/0.224, allocations: 0 / 1.106 GB, free: 8.379 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0006076/0.2246, allocations: 149.7 kB / 1.106 GB, free: 8.227 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2246, allocations: 55.89 kB / 1.106 GB, free: 8.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.2247, allocations: 96.48 kB / 1.106 GB, free: 8.059 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2248, allocations: 29.7 kB / 1.106 GB, free: 8.023 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.2248, allocations: 80.33 kB / 1.106 GB, free: 7.938 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.2249, allocations: 35.45 kB / 1.106 GB, free: 7.902 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-06/0.2249, allocations: 0 / 1.106 GB, free: 7.902 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.225, allocations: 322.8 kB / 1.107 GB, free: 7.578 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2252, allocations: 28.67 kB / 1.107 GB, free: 7.551 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2254, allocations: 36.59 kB / 1.107 GB, free: 7.516 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.2256, allocations: 37.38 kB / 1.107 GB, free: 7.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-06/0.2256, allocations: 0 / 1.107 GB, free: 7.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004121/0.226, allocations: 109.5 kB / 1.107 GB, free: 7.367 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.226, allocations: 4 kB / 1.107 GB, free: 7.363 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2261, allocations: 9.047 kB / 1.107 GB, free: 7.355 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2261, allocations: 0 / 1.107 GB, free: 7.355 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.2263, allocations: 23.98 kB / 1.107 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.045e-06/0.2263, allocations: 1 kB / 1.107 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.2264, allocations: 15.88 kB / 1.107 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2264, allocations: 4.781 kB / 1.107 GB, free: 7.312 MB / 0.573 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 0.000121/0.2265, allocations: 125.6 kB / 1.107 GB, free: 7.184 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2266, allocations: 8.906 kB / 1.107 GB, free: 7.176 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.2266, allocations: 11.97 kB / 1.107 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.2266, allocations: 0 / 1.107 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-06/0.2267, allocations: 0.625 kB / 1.107 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-06/0.2267, allocations: 1.844 kB / 1.107 GB, free: 7.164 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.2269, allocations: 181.6 kB / 1.107 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-06/0.2269, allocations: 0 / 1.107 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.227, allocations: 23.97 kB / 1.107 GB, free: 6.914 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.2271, allocations: 4 kB / 1.107 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2271, allocations: 1.156 kB / 1.107 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-06/0.2271, allocations: 0 / 1.107 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-06/0.2271, allocations: 0 / 1.107 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.2276, allocations: 156 kB / 1.108 GB, free: 6.742 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2276, allocations: 81.11 kB / 1.108 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2277, allocations: 0 / 1.108 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.2278, allocations: 11.98 kB / 1.108 GB, free: 6.633 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.2278, allocations: 9.578 kB / 1.108 GB, free: 6.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2279, allocations: 7.984 kB / 1.108 GB, free: 6.617 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.2279, allocations: 75.28 kB / 1.108 GB, free: 6.543 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.66e-07/0.2279, allocations: 1.625 kB / 1.108 GB, free: 6.543 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003079/0.2282, allocations: 20 kB / 1.108 GB, free: 6.523 MB / 0.573 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.0002266/0.2285, allocations: 124.5 kB / 1.108 GB, free: 6.391 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.2289, allocations: 87.92 kB / 1.108 GB, free: 6.305 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2289, allocations: 0 / 1.108 GB, free: 6.305 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2291, allocations: 49 kB / 1.108 GB, free: 6.258 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2293, allocations: 7.953 kB / 1.108 GB, free: 6.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.2298, allocations: 169.3 kB / 1.108 GB, free: 6.062 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.2301, allocations: 0.6964 MB / 1.109 GB, free: 5.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.2303, allocations: 35.97 kB / 1.109 GB, free: 5.305 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.2304, allocations: 19.42 kB / 1.109 GB, free: 5.285 MB / 0.573 GB Notification: Performance of SimCode: time 1.586e-06/0.2304, allocations: 4 kB / 1.109 GB, free: 5.281 MB / 0.573 GB Notification: Performance of Templates: time 0.003951/0.2344, allocations: 0.9402 MB / 1.11 GB, free: 4.344 MB / 0.573 GB