Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 87.62 kB / 20.94 MB, free: 3.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004123/0.004123, allocations: 160.3 kB / 24.38 MB, free: 9.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9439/0.9439, allocations: 177.1 MB / 204.8 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.905/1.905, allocations: 389.6 MB / 0.6356 GB, free: 12.19 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7756 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.226e-05, allocations: 2.969 kB / 0.7756 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001393/0.001416, allocations: 0.6672 MB / 0.7763 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.001728, allocations: 97.67 kB / 0.7764 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.001749, allocations: 3.938 kB / 0.7764 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.001783, allocations: 0.75 kB / 0.7764 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.001789, allocations: 0 / 0.7764 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.002091, allocations: 41.47 kB / 0.7764 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.002197, allocations: 67.91 kB / 0.7765 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.002232, allocations: 0.75 kB / 0.7765 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.002283, allocations: 28.62 kB / 0.7765 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.002317, allocations: 25.48 kB / 0.7765 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.002332, allocations: 4 kB / 0.7765 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.002468, allocations: 56.58 kB / 0.7766 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.002499, allocations: 21.61 kB / 0.7766 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.002522, allocations: 22.56 kB / 0.7766 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.002647, allocations: 85.67 kB / 0.7767 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.002651, allocations: 0 / 0.7767 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002652, allocations: 0 / 0.7767 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002656, allocations: 0 / 0.7767 GB, free: 4.008 MB / 0.7292 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.000294/0.00295, allocations: 270.4 kB / 0.777 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.002982, allocations: 17.28 kB / 0.777 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.003012, allocations: 13.44 kB / 0.777 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.992e-05/0.003072, allocations: 111.4 kB / 0.7771 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.003301, allocations: 0.5266 MB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.003312, allocations: 6.844 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.003451, allocations: 83.88 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003457, allocations: 192 / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003466, allocations: 384 / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003472, allocations: 4.125 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.003562, allocations: 88.66 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.003686, allocations: 91.48 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.003756, allocations: 47.66 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.003781, allocations: 24.84 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.003799, allocations: 0 / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.00382, allocations: 34.56 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 8.11e-07/0.003821, allocations: 0 / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001365/0.003957, allocations: 86.42 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.003987, allocations: 59.41 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.748e-05/0.004015, allocations: 89.86 kB / 0.7782 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.004026, allocations: 25.7 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.004042, allocations: 80.14 kB / 0.7783 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.004084, allocations: 40.44 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.004118, allocations: 25.7 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.004191, allocations: 320.5 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.004213, allocations: 11.98 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.004231, allocations: 12.55 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.004286, allocations: 41.5 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004288, allocations: 1.125 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.262e-05/0.004361, allocations: 62.38 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.004372, allocations: 4.656 kB / 0.7788 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.004376, allocations: 4.656 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.004385, allocations: 5.109 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.004475, allocations: 27.97 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.004478, allocations: 0 / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.004503, allocations: 4.656 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.004515, allocations: 12.47 kB / 0.7788 GB, free: 1.555 MB / 0.7292 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 6.27e-05/0.004578, allocations: 125.4 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.004588, allocations: 4.625 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.00461, allocations: 11.97 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.004613, allocations: 8.906 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.004616, allocations: 3.938 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.00462, allocations: 5.422 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.229e-05/0.004682, allocations: 81.73 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004683, allocations: 0 / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.004742, allocations: 23.97 kB / 0.7791 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.004744, allocations: 4.656 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.004752, allocations: 7.984 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004753, allocations: 1.625 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004754, allocations: 0 / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/0.004849, allocations: 96.97 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-06/0.004856, allocations: 4 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.004867, allocations: 12.86 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.004888, allocations: 4 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.004927, allocations: 12.97 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.004932, allocations: 4 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.863e-06/0.004939, allocations: 4.859 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004939, allocations: 0.9375 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001295/0.005069, allocations: 23.94 kB / 0.7793 GB, free: 1.078 MB / 0.7292 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.0001289/0.005198, allocations: 102.3 kB / 0.7794 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.005286, allocations: 49.64 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.005288, allocations: 0 / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.005322, allocations: 46.3 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.25e-05/0.005384, allocations: 11.94 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.005764, allocations: 133 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.005795, allocations: 63.34 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.197e-05/0.005837, allocations: 22.7 kB / 0.7797 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.005884, allocations: 56.69 kB / 0.7797 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.005885, allocations: 0 / 0.7797 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of Templates: time 0.002834/0.008719, allocations: 1.217 MB / 0.7809 GB, free: 15.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.87084393389523]