Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001095/0.001095, allocations: 176 kB / 16.06 MB, free: 5.832 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.95/3.95, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.274/4.274, allocations: 472.3 MB / 0.9018 GB, free: 124 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004917, allocations: 12 kB / 1.008 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5612, allocations: 98.7 MB / 1.104 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00259/0.5639, allocations: 1.23 MB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.5647, allocations: 172 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.5647, allocations: 4.5 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.5648, allocations: 0.6562 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.5649, allocations: 3.938 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.5653, allocations: 28.48 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.5654, allocations: 43.25 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.5655, allocations: 7.766 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.5656, allocations: 15.42 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.5657, allocations: 16.11 kB / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.5657, allocations: 1.312 kB / 1.106 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.5659, allocations: 43.09 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.5659, allocations: 2.266 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.566, allocations: 30.67 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.5662, allocations: 40.91 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.981e-06/0.5662, allocations: 1.578 kB / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.483e-06/0.5662, allocations: 0 / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.045e-06/0.5662, allocations: 0 / 1.106 GB, free: 205.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005811/0.5668, allocations: 355.2 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5669, allocations: 9.625 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.567, allocations: 6 kB / 1.106 GB, free: 204.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.5671, allocations: 173.8 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5672, allocations: 4 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.5672, allocations: 2.219 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.5676, allocations: 74.47 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5676, allocations: 1.094 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5676, allocations: 0 / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-06/0.5677, allocations: 5.641 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.5681, allocations: 54.62 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.5687, allocations: 279.1 kB / 1.107 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.5694, allocations: 69.66 kB / 1.107 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.5696, allocations: 34 kB / 1.107 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.5699, allocations: 171.3 kB / 1.107 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.57, allocations: 36.64 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 4.235e-06/0.57, allocations: 0 / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0007852/0.5708, allocations: 112 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5709, allocations: 55.08 kB / 1.107 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.571, allocations: 115.2 kB / 1.107 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.571, allocations: 30.55 kB / 1.107 GB, free: 203.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.5711, allocations: 85.83 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5711, allocations: 13.67 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-06/0.5712, allocations: 1.125 kB / 1.107 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.5712, allocations: 316.4 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.5715, allocations: 25.42 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5717, allocations: 25.25 kB / 1.108 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.5719, allocations: 26.97 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-06/0.5719, allocations: 0 / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005156/0.5724, allocations: 85.06 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5725, allocations: 5.609 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.696e-06/0.5725, allocations: 0 / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5726, allocations: 0.9375 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.5728, allocations: 18.44 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5728, allocations: 7.891 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.573, allocations: 17.5 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.573, allocations: 1.281 kB / 1.108 GB, free: 203.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.495e-05/0.5731, allocations: 109.2 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.5732, allocations: 6.359 kB / 1.108 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.5737, allocations: 96.72 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-06/0.5738, allocations: 0 / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-06/0.5738, allocations: 1.953 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.929e-06/0.5738, allocations: 3.953 kB / 1.108 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.5741, allocations: 161.3 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-06/0.5741, allocations: 2.812 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.5743, allocations: 13.62 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.042e-06/0.5743, allocations: 1.219 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5744, allocations: 8.188 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-06/0.5744, allocations: 7.266 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.692e-06/0.5744, allocations: 1 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.5749, allocations: 184.1 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.5749, allocations: 82.97 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.575, allocations: 1.031 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5752, allocations: 9.109 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.5753, allocations: 10.11 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5753, allocations: 4.625 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.5754, allocations: 82.84 kB / 1.108 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.56e-07/0.5754, allocations: 0 / 1.108 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006458/0.5761, allocations: 22.95 kB / 1.109 GB, free: 202.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002586/0.5764, allocations: 119.4 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.5768, allocations: 62.31 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5769, allocations: 4.906 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5771, allocations: 33.91 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.5777, allocations: 9.922 kB / 1.109 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.5782, allocations: 126.2 kB / 1.109 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.5784, allocations: 0.682 MB / 1.11 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.5785, allocations: 7.078 kB / 1.11 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.5785, allocations: 11.23 kB / 1.11 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.803e-06/0.5785, allocations: 1.469 kB / 1.11 GB, free: 201.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.00567/0.5842, allocations: 0.8474 MB / 1.11 GB, free: 201.6 MB / 0.7136 GB