Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00195/0.00195, allocations: 74.58 kB / 19.18 MB, free: 2.539 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.001958/0.001958, allocations: 172.6 kB / 22.46 MB, free: 5.348 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.68/2.68, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.078e-05, allocations: 6.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001654/0.001685, allocations: 0.5995 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.002071, allocations: 91.62 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.00209, allocations: 0 / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002118, allocations: 0 / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.002124, allocations: 4 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.002482, allocations: 47.81 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.002616, allocations: 63.92 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.002655, allocations: 4 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.002714, allocations: 31.95 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.002776, allocations: 27.91 kB / 0.9519 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.002797, allocations: 0 / 0.9519 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.002945, allocations: 51.92 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.00299, allocations: 19.97 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.003021, allocations: 15.98 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.003203, allocations: 91.73 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003206, allocations: 0 / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003207, allocations: 4 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.003211, allocations: 0 / 0.952 GB, free: 10.48 MB / 0.8575 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.0005311/0.003742, allocations: 294.3 kB / 0.9523 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.003777, allocations: 8.031 kB / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.003822, allocations: 8.938 kB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.003913, allocations: 113.7 kB / 0.9524 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.004346, allocations: 0.526 MB / 0.953 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.00437, allocations: 12.31 kB / 0.953 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.004637, allocations: 78.19 kB / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.004647, allocations: 4.125 kB / 0.953 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.004667, allocations: 12.36 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004673, allocations: 4.125 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.005059, allocations: 123.8 kB / 0.9532 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.00523, allocations: 121.3 kB / 0.9533 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.005574, allocations: 98.39 kB / 0.9534 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.00573, allocations: 40.83 kB / 0.9534 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.005754, allocations: 0 / 0.9534 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.00579, allocations: 34.56 kB / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.005791, allocations: 0 / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005937/0.006385, allocations: 153.8 kB / 0.9536 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.006427, allocations: 55.41 kB / 0.9537 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.006478, allocations: 93.8 kB / 0.9537 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.006499, allocations: 25.7 kB / 0.9538 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.00655, allocations: 80.14 kB / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.006607, allocations: 39.67 kB / 0.9539 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.006664, allocations: 33.7 kB / 0.9539 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.0068, allocations: 310.8 kB / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.006951, allocations: 35.97 kB / 0.9543 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.007095, allocations: 31.97 kB / 0.9543 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.007402, allocations: 80.75 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007404, allocations: 0 / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003724/0.007776, allocations: 117.5 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.00779, allocations: 4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.007795, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.007809, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.007973, allocations: 27.97 kB / 0.9545 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.007981, allocations: 3.938 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.008056, allocations: 11.94 kB / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.008071, allocations: 4 kB / 0.9545 GB, free: 7.637 MB / 0.8575 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.821e-05/0.008169, allocations: 121.8 kB / 0.9546 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.008188, allocations: 3.953 kB / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.008227, allocations: 7.969 kB / 0.9546 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.00823, allocations: 4 kB / 0.9547 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.008235, allocations: 4 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.00824, allocations: 3.938 kB / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.008368, allocations: 117.3 kB / 0.9548 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008369, allocations: 11.81 kB / 0.9548 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.008505, allocations: 27.97 kB / 0.9548 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008507, allocations: 0 / 0.9548 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008518, allocations: 4 kB / 0.9548 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008519, allocations: 0 / 0.9548 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00852, allocations: 4 kB / 0.9548 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.008918, allocations: 145.7 kB / 0.955 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.008928, allocations: 7.938 kB / 0.955 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.008945, allocations: 0 / 0.955 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.009013, allocations: 11.98 kB / 0.955 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.009079, allocations: 11.92 kB / 0.955 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.009092, allocations: 7.984 kB / 0.955 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.00913, allocations: 79.22 kB / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.00913, allocations: 0 / 0.9551 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000235/0.009365, allocations: 27.94 kB / 0.9551 GB, free: 6.988 MB / 0.8575 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.0002153/0.00958, allocations: 119.2 kB / 0.9552 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.009954, allocations: 87.92 kB / 0.9553 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009956, allocations: 0 / 0.9553 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01013, allocations: 43.97 kB / 0.9553 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.01028, allocations: 0 / 0.9553 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.01071, allocations: 168.7 kB / 0.9555 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.01078, allocations: 79.28 kB / 0.9556 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.01094, allocations: 39.95 kB / 0.9556 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.01099, allocations: 20.48 kB / 0.9556 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01099, allocations: 0 / 0.9556 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of Templates: time 0.003986/0.01498, allocations: 1.007 MB / 0.9566 GB, free: 5.387 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.777998473495245]