Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.0008127/0.0008127, allocations: 190.2 kB / 330.8 MB, free: 484 kB / 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 1.297/1.297, allocations: 225.7 MB / 0.6016 GB, free: 1.684 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.0007824/0.0007824, allocations: 97.47 kB / 0.709 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 16 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 109.2 MB / 0.9328 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0005324/0.155, allocations: 314 kB / 0.9331 GB, free: 5.977 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.1554, allocations: 339 kB / 0.9334 GB, free: 5.59 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.1554, allocations: 0 / 0.9334 GB, free: 5.59 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.1555, allocations: 0 / 0.9334 GB, free: 5.59 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-06/0.1555, allocations: 0 / 0.9334 GB, free: 5.59 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1557, allocations: 31.95 kB / 0.9334 GB, free: 5.559 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.1558, allocations: 55.94 kB / 0.9335 GB, free: 5.504 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1559, allocations: 8 kB / 0.9335 GB, free: 5.496 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.1559, allocations: 19.98 kB / 0.9335 GB, free: 5.477 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.1559, allocations: 27.95 kB / 0.9335 GB, free: 5.449 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1559, allocations: 4 kB / 0.9335 GB, free: 5.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.156, allocations: 43.97 kB / 0.9336 GB, free: 5.402 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.1561, allocations: 27.89 kB / 0.9336 GB, free: 5.375 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1561, allocations: 45.62 kB / 0.9336 GB, free: 5.324 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1562, allocations: 67.78 kB / 0.9337 GB, free: 5.258 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1562, allocations: 0 / 0.9337 GB, free: 5.258 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1563, allocations: 0 / 0.9337 GB, free: 5.258 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1563, allocations: 4 kB / 0.9337 GB, free: 5.254 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.0003224/0.1566, allocations: 351.6 kB / 0.934 GB, free: 4.859 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.1566, allocations: 19.92 kB / 0.9341 GB, free: 4.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1567, allocations: 8.844 kB / 0.9341 GB, free: 4.832 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.136e-05/0.1567, allocations: 172.6 kB / 0.9342 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.1569, allocations: 281.6 kB / 0.9345 GB, free: 4.289 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1569, allocations: 4.375 kB / 0.9345 GB, free: 4.285 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1571, allocations: 86.06 kB / 0.9346 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1571, allocations: 3.938 kB / 0.9346 GB, free: 4.191 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1571, allocations: 8 kB / 0.9346 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1572, allocations: 0 / 0.9346 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.1574, allocations: 135.8 kB / 0.9347 GB, free: 4.051 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1576, allocations: 169.7 kB / 0.9349 GB, free: 3.836 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1578, allocations: 94.52 kB / 0.935 GB, free: 3.734 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1579, allocations: 44.83 kB / 0.935 GB, free: 3.688 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.158, allocations: 4 kB / 0.935 GB, free: 3.684 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.031e-05/0.158, allocations: 34.56 kB / 0.9351 GB, free: 3.641 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.158, allocations: 0 / 0.9351 GB, free: 3.641 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0004203/0.1584, allocations: 157.7 kB / 0.9352 GB, free: 3.48 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.496e-05/0.1584, allocations: 51.41 kB / 0.9353 GB, free: 3.418 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/0.1585, allocations: 89.86 kB / 0.9353 GB, free: 3.32 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.1585, allocations: 29.7 kB / 0.9354 GB, free: 3.285 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/0.1585, allocations: 80.14 kB / 0.9355 GB, free: 3.203 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1585, allocations: 43.45 kB / 0.9355 GB, free: 3.16 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1585, allocations: 0 / 0.9355 GB, free: 3.16 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.1586, allocations: 314.8 kB / 0.9358 GB, free: 2.844 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1587, allocations: 31.97 kB / 0.9358 GB, free: 2.812 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1588, allocations: 31.97 kB / 0.9359 GB, free: 2.781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.159, allocations: 80.75 kB / 0.9359 GB, free: 2.699 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.159, allocations: 0 / 0.9359 GB, free: 2.699 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/0.1593, allocations: 110.1 kB / 0.936 GB, free: 2.586 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1593, allocations: 7.938 kB / 0.936 GB, free: 2.578 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1593, allocations: 8 kB / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1593, allocations: 0 / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1595, allocations: 23.98 kB / 0.9361 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1595, allocations: 3.984 kB / 0.9361 GB, free: 2.543 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.1595, allocations: 11.88 kB / 0.9361 GB, free: 2.531 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1595, allocations: 4 kB / 0.9361 GB, free: 2.527 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.1596, allocations: 122.4 kB / 0.9362 GB, free: 2.398 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1596, allocations: 7.938 kB / 0.9362 GB, free: 2.391 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.1596, allocations: 15.97 kB / 0.9362 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1597, allocations: 3.938 kB / 0.9362 GB, free: 2.367 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1597, allocations: 0 / 0.9362 GB, free: 2.367 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1597, allocations: 0 / 0.9362 GB, free: 2.367 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.1597, allocations: 181.5 kB / 0.9364 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1598, allocations: 0 / 0.9364 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1599, allocations: 27.97 kB / 0.9364 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1599, allocations: 7.938 kB / 0.9364 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1599, allocations: 0 / 0.9364 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1599, allocations: 0 / 0.9364 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1599, allocations: 0 / 0.9364 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1602, allocations: 149 kB / 0.9366 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.1602, allocations: 85.02 kB / 0.9367 GB, free: 1.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1602, allocations: 3.938 kB / 0.9367 GB, free: 1.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.1603, allocations: 11.98 kB / 0.9367 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.1603, allocations: 11.92 kB / 0.9367 GB, free: 1.812 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1603, allocations: 4 kB / 0.9367 GB, free: 1.809 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.05e-05/0.1603, allocations: 79.27 kB / 0.9368 GB, free: 1.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 4 kB / 0.9368 GB, free: 1.727 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001803/0.1605, allocations: 20 kB / 0.9368 GB, free: 1.707 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 (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.0001337/0.1607, allocations: 131.2 kB / 0.9369 GB, free: 1.566 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1609, allocations: 83.88 kB / 0.937 GB, free: 1.484 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.161, allocations: 0 / 0.937 GB, free: 1.484 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1611, allocations: 43.97 kB / 0.937 GB, free: 1.441 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.1612, allocations: 7.906 kB / 0.937 GB, free: 1.434 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.1615, allocations: 182.6 kB / 0.9372 GB, free: 1.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.54e-05/0.1616, allocations: 0.6848 MB / 0.9379 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.1617, allocations: 43.73 kB / 0.9379 GB, free: 488 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1618, allocations: 15.42 kB / 0.9379 GB, free: 476 kB / 0.573 GB Notification: Performance of SimCode: time 2.3e-07/0.1618, allocations: 0 / 0.9379 GB, free: 476 kB / 0.573 GB Notification: Performance of Templates: time 0.002536/0.1643, allocations: 0.9733 MB / 0.9389 GB, free: 15.49 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)