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.01549/0.0155, allocations: 111.6 kB / 15.06 MB, free: 5.613 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.001524/0.001523, allocations: 189.7 kB / 15.95 MB, free: 5.543 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 2.136/2.136, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.387/2.387, allocations: 236.1 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 12 kB / 0.587 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5458, allocations: 98.69 MB / 0.6833 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006196/0.5465, allocations: 318.1 kB / 0.6836 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.5469, allocations: 101.8 kB / 0.6837 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.5469, allocations: 0 / 0.6837 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.5469, allocations: 0 / 0.6837 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-06/0.547, allocations: 1.219 kB / 0.6837 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.5472, allocations: 35.55 kB / 0.6838 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.5473, allocations: 41.75 kB / 0.6838 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.5474, allocations: 6.125 kB / 0.6838 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.5474, allocations: 21.09 kB / 0.6838 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.5475, allocations: 28.58 kB / 0.6839 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.5475, allocations: 3.094 kB / 0.6839 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.5477, allocations: 37.75 kB / 0.6839 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.5477, allocations: 21.41 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.5478, allocations: 31.25 kB / 0.6839 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.5479, allocations: 43.91 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.822e-06/0.5479, allocations: 4 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.921e-06/0.5479, allocations: 0 / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.378e-06/0.5479, allocations: 1.125 kB / 0.684 GB, free: 16.28 MB / 0.5261 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.0003994/0.5483, allocations: 352 kB / 0.6843 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5484, allocations: 9.594 kB / 0.6843 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.5484, allocations: 4.625 kB / 0.6843 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/0.5485, allocations: 170.3 kB / 0.6845 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.5487, allocations: 279.9 kB / 0.6848 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.5488, allocations: 7.703 kB / 0.6848 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.549, allocations: 82.83 kB / 0.6849 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.793e-06/0.5491, allocations: 0.7812 kB / 0.6849 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5491, allocations: 0 / 0.6849 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.697e-06/0.5491, allocations: 2.062 kB / 0.6849 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.5496, allocations: 133.6 kB / 0.685 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.5497, allocations: 186.4 kB / 0.6852 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.5501, allocations: 101.2 kB / 0.6853 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.5502, allocations: 5.984 kB / 0.6853 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.5502, allocations: 35.84 kB / 0.6853 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.251e-06/0.5502, allocations: 0 / 0.6853 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006106/0.5508, allocations: 142.8 kB / 0.6854 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.5508, allocations: 57.66 kB / 0.6855 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.5509, allocations: 90.56 kB / 0.6856 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5509, allocations: 30.64 kB / 0.6856 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.5509, allocations: 80.33 kB / 0.6857 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.551, allocations: 43.34 kB / 0.6857 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-06/0.551, allocations: 1.25 kB / 0.6857 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.5511, allocations: 321.6 kB / 0.686 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5513, allocations: 28.38 kB / 0.6861 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.5514, allocations: 34.05 kB / 0.6861 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5516, allocations: 29.94 kB / 0.6861 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.5516, allocations: 0 / 0.6861 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004053/0.552, allocations: 117.5 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5521, allocations: 9.062 kB / 0.6862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.325e-06/0.5521, allocations: 4.656 kB / 0.6862 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5521, allocations: 1.375 kB / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5523, allocations: 27.95 kB / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.577e-06/0.5523, allocations: 0 / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.5524, allocations: 12.77 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.5524, allocations: 4.172 kB / 0.6863 GB, free: 14.24 MB / 0.5261 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.031e-05/0.5525, allocations: 121.1 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.5526, allocations: 1.922 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.5526, allocations: 13.44 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-06/0.5526, allocations: 2.141 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-06/0.5526, allocations: 0 / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5526, allocations: 0.6562 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.5528, allocations: 184 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5528, allocations: 1.062 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.553, allocations: 31.02 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-06/0.553, allocations: 1.312 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.553, allocations: 3.281 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-06/0.553, allocations: 1.375 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.553, allocations: 4 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.5535, allocations: 138.7 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.5535, allocations: 88.03 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.5535, allocations: 0.9688 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.5536, allocations: 5.641 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.5537, allocations: 15.33 kB / 0.6869 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5537, allocations: 4.266 kB / 0.6869 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.5537, allocations: 79.84 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.326e-06/0.5537, allocations: 0 / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003039/0.5541, allocations: 25.91 kB / 0.687 GB, free: 13.61 MB / 0.5261 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.0001864/0.5543, allocations: 123.3 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.5546, allocations: 88.3 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5547, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.5549, allocations: 45.94 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.555, allocations: 12.33 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.5554, allocations: 167.4 kB / 0.6874 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.5556, allocations: 0.6906 MB / 0.6881 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.5558, allocations: 38.33 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.5558, allocations: 20.16 kB / 0.6881 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.394e-06/0.5558, allocations: 0 / 0.6881 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.003945/0.5598, allocations: 0.9353 MB / 0.689 GB, free: 12.52 MB / 0.5261 GB