Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.699/1.699, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001171/0.001171, allocations: 171.3 kB / 393.1 MB, free: 4.09 MB / 314.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 1.44/1.44, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007668/0.0007666, allocations: 100.9 kB / 0.7935 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.5619, allocations: 121.3 MB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006675/0.5626, allocations: 331.7 kB / 1.041 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000406/0.5631, allocations: 330.1 kB / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.159e-05/0.5631, allocations: 0 / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.5631, allocations: 0.5156 kB / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.5631, allocations: 0 / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.5634, allocations: 35.61 kB / 1.042 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5635, allocations: 66.97 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.5636, allocations: 3.781 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.5636, allocations: 19.42 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.5637, allocations: 28.42 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.5637, allocations: 0 / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.5638, allocations: 38.22 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.5638, allocations: 25.52 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.5639, allocations: 49.44 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.564, allocations: 68.64 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.564, allocations: 3.484 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.564, allocations: 0 / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.564, allocations: 0 / 1.042 GB, free: 57.24 MB / 0.698 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.0003891/0.5644, allocations: 355.3 kB / 1.042 GB, free: 56.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5645, allocations: 17.2 kB / 1.042 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.5645, allocations: 5.125 kB / 1.042 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.281e-05/0.5646, allocations: 162.5 kB / 1.042 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.5648, allocations: 286.9 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.5648, allocations: 1.875 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.565, allocations: 85.36 kB / 1.043 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.565, allocations: 5.109 kB / 1.043 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5651, allocations: 3.938 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5651, allocations: 0.875 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.5654, allocations: 133.2 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.5656, allocations: 180.5 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.5658, allocations: 97.98 kB / 1.043 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.566, allocations: 43.23 kB / 1.043 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.566, allocations: 5.406 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.566, allocations: 42.5 kB / 1.043 GB, free: 55.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.566, allocations: 3.938 kB / 1.043 GB, free: 55.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000477/0.5665, allocations: 141.3 kB / 1.043 GB, free: 55.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.5666, allocations: 53.72 kB / 1.043 GB, free: 55.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.866e-05/0.5666, allocations: 89.86 kB / 1.043 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.5666, allocations: 25.7 kB / 1.043 GB, free: 55.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.217e-05/0.5666, allocations: 87.36 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.5667, allocations: 35.27 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.5667, allocations: 0 / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.5667, allocations: 318.4 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5668, allocations: 36.89 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.567, allocations: 31.75 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.5672, allocations: 75.44 kB / 1.044 GB, free: 55.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5672, allocations: 1.375 kB / 1.044 GB, free: 55.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002884/0.5675, allocations: 112.3 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5675, allocations: 10.91 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5675, allocations: 5.25 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5676, allocations: 2.469 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5677, allocations: 27.88 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5677, allocations: 1.406 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.5678, allocations: 12.5 kB / 1.044 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.5678, allocations: 4.562 kB / 1.044 GB, free: 55.19 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/0.5679, allocations: 118 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.5679, allocations: 5.719 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.568, allocations: 7.969 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.568, allocations: 4.375 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.568, allocations: 0 / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.568, allocations: 2.203 kB / 1.044 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5681, allocations: 180.8 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5681, allocations: 0 / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.5683, allocations: 31.09 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5683, allocations: 6.188 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5683, allocations: 13.55 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5683, allocations: 1.859 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5683, allocations: 0.625 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.5687, allocations: 146.7 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.5687, allocations: 80.86 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.5687, allocations: 5.906 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.5688, allocations: 3.344 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.5689, allocations: 16.23 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.5689, allocations: 3.25 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.5689, allocations: 75.97 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5689, allocations: 0 / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000234/0.5692, allocations: 22.12 kB / 1.045 GB, free: 54.57 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002181/0.5694, allocations: 130.5 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.5697, allocations: 86.55 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5697, allocations: 2.594 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.5699, allocations: 48.08 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.57, allocations: 7.781 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.5704, allocations: 173.3 kB / 1.045 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.5706, allocations: 0.683 MB / 1.046 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.5708, allocations: 38.97 kB / 1.046 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.5708, allocations: 20.88 kB / 1.046 GB, free: 53.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.5708, allocations: 0 / 1.046 GB, free: 53.6 MB / 0.698 GB Notification: Performance of Templates: time 0.003412/0.5742, allocations: 0.9693 MB / 1.047 GB, free: 53.5 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)