Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001623/0.001623, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002079/0.002079, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.375/3.375, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 66.95 kB / 1.186 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3677, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001733/0.3694, allocations: 0.5862 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.3698, allocations: 100.1 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.3698, allocations: 4 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.3699, allocations: 7.984 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.3699, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3702, allocations: 31.91 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3704, allocations: 67.92 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3704, allocations: 4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.3705, allocations: 19.98 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.3705, allocations: 35.77 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3705, allocations: 4 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3707, allocations: 51.95 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.3707, allocations: 19.97 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.3707, allocations: 23.92 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3709, allocations: 71.77 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3709, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3709, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.3709, allocations: 4 kB / 1.365 GB, free: 12.53 MB / 1.061 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.0004848/0.3714, allocations: 290.3 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3714, allocations: 8.031 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3714, allocations: 4.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.822e-05/0.3715, allocations: 118.5 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.3719, allocations: 0.5299 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3719, allocations: 384 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3722, allocations: 90.06 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3722, allocations: 3.938 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3722, allocations: 8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3722, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.3725, allocations: 127.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3727, allocations: 125.2 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.373, allocations: 86.52 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3731, allocations: 40.83 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3732, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3732, allocations: 42.5 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.3732, allocations: 4 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005219/0.3737, allocations: 145.8 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3738, allocations: 55.41 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.3738, allocations: 89.86 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3738, allocations: 29.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.3739, allocations: 80.14 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.3739, allocations: 39.64 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.374, allocations: 25.7 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3741, allocations: 318.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3742, allocations: 35.97 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3744, allocations: 35.97 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3746, allocations: 81.34 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3746, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.375, allocations: 109.6 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.375, allocations: 11.94 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.375, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.375, allocations: 3.938 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3751, allocations: 23.97 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3751, allocations: 4 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.3752, allocations: 19.88 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3752, allocations: 3.984 kB / 1.367 GB, free: 9.68 MB / 1.061 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 9.694e-05/0.3753, allocations: 118.9 kB / 1.367 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3753, allocations: 7.953 kB / 1.367 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.3754, allocations: 15.78 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3754, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3754, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3754, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.3755, allocations: 121.3 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3755, allocations: 3.984 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3756, allocations: 23.98 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3756, allocations: 4 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3756, allocations: 4 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3756, allocations: 7.922 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3756, allocations: 0 / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.376, allocations: 141 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.376, allocations: 7.938 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.376, allocations: 4 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.3761, allocations: 11.86 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3761, allocations: 11.98 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3762, allocations: 11.98 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.3762, allocations: 75.28 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.3762, allocations: 0 / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002244/0.3764, allocations: 24 kB / 1.368 GB, free: 9.023 MB / 1.061 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.0001826/0.3766, allocations: 111.2 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3769, allocations: 83.88 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3769, allocations: 0 / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3771, allocations: 47.91 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3772, allocations: 11.94 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.3776, allocations: 164.8 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.3777, allocations: 67.34 kB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.3778, allocations: 43.95 kB / 1.368 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3779, allocations: 15.42 kB / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3779, allocations: 0 / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of Templates: time 0.00357/0.3814, allocations: 1.001 MB / 1.369 GB, free: 7.445 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.881568999961019]