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.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.257/1.257, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.0009538/0.0009538, allocations: 182 kB / 330.8 MB, free: 500 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.338/1.338, allocations: 225.7 MB / 0.6016 GB, free: 1.586 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.0007369/0.000737, allocations: 107.5 kB / 0.709 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 109.2 MB / 0.9327 GB, free: 6.289 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001323/0.152, allocations: 1.253 MB / 0.934 GB, free: 5.023 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.1524, allocations: 403.8 kB / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1524, allocations: 0 / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1525, allocations: 0 / 0.9344 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.1525, allocations: 3.938 kB / 0.9344 GB, free: 4.566 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1527, allocations: 39.95 kB / 0.9344 GB, free: 4.527 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.1528, allocations: 35.86 kB / 0.9344 GB, free: 4.492 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.1529, allocations: 19.98 kB / 0.9345 GB, free: 4.473 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.1529, allocations: 7.984 kB / 0.9345 GB, free: 4.465 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.153, allocations: 15.92 kB / 0.9345 GB, free: 4.449 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.153, allocations: 4 kB / 0.9345 GB, free: 4.445 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.1531, allocations: 43.95 kB / 0.9345 GB, free: 4.402 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1531, allocations: 11.92 kB / 0.9345 GB, free: 4.391 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1532, allocations: 33.64 kB / 0.9346 GB, free: 4.352 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1533, allocations: 59.83 kB / 0.9346 GB, free: 4.293 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1533, allocations: 4 kB / 0.9346 GB, free: 4.289 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1533, allocations: 4 kB / 0.9346 GB, free: 4.285 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.1533, allocations: 0 / 0.9346 GB, free: 4.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003733/0.1537, allocations: 355.7 kB / 0.935 GB, free: 3.887 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1537, allocations: 11.98 kB / 0.935 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1537, allocations: 8.922 kB / 0.935 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.1538, allocations: 164.3 kB / 0.9351 GB, free: 3.668 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1538, allocations: 4.375 kB / 0.9351 GB, free: 3.664 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.1539, allocations: 4.375 kB / 0.9352 GB, free: 3.66 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.154, allocations: 74.2 kB / 0.9352 GB, free: 3.582 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.154, allocations: 192 / 0.9352 GB, free: 3.582 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1541, allocations: 3.938 kB / 0.9352 GB, free: 3.578 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1541, allocations: 0 / 0.9352 GB, free: 3.578 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1542, allocations: 63.89 kB / 0.9353 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.1545, allocations: 288.6 kB / 0.9356 GB, free: 3.184 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.1548, allocations: 62.55 kB / 0.9356 GB, free: 3.113 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.1549, allocations: 36.89 kB / 0.9357 GB, free: 3.074 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.155, allocations: 162.2 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.1551, allocations: 38.56 kB / 0.9358 GB, free: 2.832 MB / 0.573 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1551, allocations: 4 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0003265/0.1554, allocations: 113.5 kB / 0.936 GB, free: 2.711 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.1555, allocations: 55.41 kB / 0.936 GB, free: 2.645 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.1555, allocations: 109.8 kB / 0.9361 GB, free: 2.527 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.1555, allocations: 25.7 kB / 0.9361 GB, free: 2.496 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.1556, allocations: 84.14 kB / 0.9362 GB, free: 2.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.1556, allocations: 7.906 kB / 0.9362 GB, free: 2.402 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1556, allocations: 0 / 0.9362 GB, free: 2.402 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.1556, allocations: 318.8 kB / 0.9365 GB, free: 2.082 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.1557, allocations: 27.98 kB / 0.9366 GB, free: 2.055 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.1558, allocations: 23.98 kB / 0.9366 GB, free: 2.031 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1559, allocations: 60.81 kB / 0.9366 GB, free: 1.969 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1559, allocations: 3.938 kB / 0.9366 GB, free: 1.965 MB / 0.573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001798/0.1561, allocations: 85.58 kB / 0.9367 GB, free: 1.875 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.1561, allocations: 8 kB / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1562, allocations: 0 / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1562, allocations: 0 / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.1562, allocations: 15.98 kB / 0.9368 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1563, allocations: 8 kB / 0.9368 GB, free: 1.844 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.1563, allocations: 8 kB / 0.9368 GB, free: 1.836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1563, allocations: 0 / 0.9368 GB, free: 1.836 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.1564, allocations: 118.4 kB / 0.9369 GB, free: 1.711 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1564, allocations: 7.906 kB / 0.9369 GB, free: 1.703 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.1566, allocations: 101.8 kB / 0.937 GB, free: 1.598 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1566, allocations: 4 kB / 0.937 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1566, allocations: 0 / 0.937 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.1567, allocations: 0 / 0.937 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1568, allocations: 165.6 kB / 0.9371 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1568, allocations: 0 / 0.9371 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.1568, allocations: 15.98 kB / 0.9372 GB, free: 1.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1569, allocations: 4 kB / 0.9372 GB, free: 1.363 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1569, allocations: 4 kB / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1569, allocations: 0 / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1569, allocations: 0 / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1571, allocations: 187.4 kB / 0.9373 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.1571, allocations: 85.02 kB / 0.9374 GB, free: 1.059 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1571, allocations: 3.938 kB / 0.9374 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1572, allocations: 7.984 kB / 0.9374 GB, free: 1.047 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1573, allocations: 8 kB / 0.9374 GB, free: 1.039 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1573, allocations: 3.984 kB / 0.9375 GB, free: 1.035 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.1573, allocations: 87.28 kB / 0.9375 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1573, allocations: 0 / 0.9375 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001979/0.1575, allocations: 20 kB / 0.9376 GB, free: 0.9297 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: 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 (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.0001297/0.1576, allocations: 123.2 kB / 0.9377 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1578, allocations: 59.95 kB / 0.9377 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1578, allocations: 0 / 0.9377 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.1579, allocations: 35.91 kB / 0.9378 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1582, allocations: 11.86 kB / 0.9378 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.1584, allocations: 134.4 kB / 0.9379 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1585, allocations: 0.6809 MB / 0.9386 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.1586, allocations: 4 kB / 0.9386 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.1586, allocations: 11.42 kB / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.1586, allocations: 4 kB / 0.9386 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.002721/0.1613, allocations: 0.8802 MB / 0.9394 GB, free: 14.94 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)