Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.634/2.634, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001355/0.001355, allocations: 192.9 kB / 329.5 MB, free: 1.148 MB / 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 2.485/2.485, allocations: 225.6 MB / 0.6001 GB, free: 2.191 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.0009941/0.0009937, allocations: 98.23 kB / 0.7074 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 16.66 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2109, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00183/0.2128, allocations: 1.238 MB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005319/0.2134, allocations: 172.4 kB / 0.9321 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.2135, allocations: 0 / 0.9321 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.2135, allocations: 3.938 kB / 0.9321 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.2136, allocations: 4 kB / 0.9321 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2139, allocations: 39.89 kB / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.071e-05/0.214, allocations: 31.92 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2141, allocations: 11.98 kB / 0.9322 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.2141, allocations: 4 kB / 0.9322 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.2142, allocations: 19.91 kB / 0.9322 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2142, allocations: 4 kB / 0.9322 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2144, allocations: 39.95 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2144, allocations: 15.88 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.2144, allocations: 29.7 kB / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2145, allocations: 43.86 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2146, allocations: 0 / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2146, allocations: 0 / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2146, allocations: 0 / 0.9324 GB, free: 23.43 MB / 0.5886 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.0005084/0.2151, allocations: 355.7 kB / 0.9327 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2151, allocations: 16.03 kB / 0.9327 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.2152, allocations: 4.844 kB / 0.9327 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.2153, allocations: 164.4 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2153, allocations: 8.312 kB / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2154, allocations: 4.375 kB / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.2156, allocations: 70.2 kB / 0.933 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2157, allocations: 192 / 0.933 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2157, allocations: 3.938 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.2157, allocations: 8 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.216, allocations: 51.95 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.2165, allocations: 288.6 kB / 0.9333 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.217, allocations: 62.53 kB / 0.9334 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2172, allocations: 28.91 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.2174, allocations: 174.2 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2175, allocations: 30.56 kB / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.667e-06/0.2175, allocations: 0 / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0006349/0.2181, allocations: 117.5 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.2182, allocations: 55.39 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.2182, allocations: 105.9 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2183, allocations: 25.7 kB / 0.9339 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2183, allocations: 92.03 kB / 0.934 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2183, allocations: 0 / 0.934 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.2184, allocations: 4 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.2184, allocations: 322.8 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2186, allocations: 23.97 kB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.2188, allocations: 23.98 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2189, allocations: 27.98 kB / 0.9343 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2189, allocations: 0 / 0.9343 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000381/0.2193, allocations: 93.77 kB / 0.9344 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2194, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2194, allocations: 0 / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2194, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2196, allocations: 16.03 kB / 0.9345 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2196, allocations: 0 / 0.9345 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2197, allocations: 15.97 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2197, allocations: 3.938 kB / 0.9345 GB, free: 21.02 MB / 0.5886 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 8.111e-05/0.2198, allocations: 118.3 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.2199, allocations: 0 / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.2203, allocations: 101.5 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2203, allocations: 3.938 kB / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.2203, allocations: 0 / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2203, allocations: 0 / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2205, allocations: 169.6 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2205, allocations: 4 kB / 0.9349 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2207, allocations: 15.98 kB / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2207, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2207, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2207, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2207, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.2212, allocations: 187.4 kB / 0.9351 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.2212, allocations: 81.05 kB / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2212, allocations: 4 kB / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2214, allocations: 11.98 kB / 0.9351 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2215, allocations: 7.984 kB / 0.9352 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2215, allocations: 4 kB / 0.9352 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.2215, allocations: 87.61 kB / 0.9352 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2215, allocations: 0 / 0.9352 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003216/0.2219, allocations: 23.89 kB / 0.9353 GB, free: 20.11 MB / 0.5886 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.0002279/0.2221, allocations: 123.2 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.2225, allocations: 55.95 kB / 0.9354 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2226, allocations: 0 / 0.9354 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.2227, allocations: 31.97 kB / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2231, allocations: 7.938 kB / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.2235, allocations: 132.6 kB / 0.9356 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2237, allocations: 0.6809 MB / 0.9363 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.2237, allocations: 7.984 kB / 0.9363 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.2238, allocations: 11.44 kB / 0.9363 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/0.2238, allocations: 0 / 0.9363 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of Templates: time 0.004245/0.2281, allocations: 0.8588 MB / 0.9371 GB, free: 18.15 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)