Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001869/0.001869, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001891/0.001891, allocations: 220 kB / 23.01 MB, free: 4.609 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.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.002091/0.002091, allocations: 67.73 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3653, allocations: 170 MB / 1.285 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00295/0.3682, allocations: 1.566 MB / 1.286 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004752/0.3687, allocations: 191.3 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.3687, allocations: 0 / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.3688, allocations: 3.938 kB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.3688, allocations: 3.938 kB / 1.286 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3691, allocations: 51.88 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.3692, allocations: 35.92 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.3693, allocations: 15.97 kB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.3694, allocations: 15.92 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.3694, allocations: 23.92 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3694, allocations: 0 / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3696, allocations: 63.94 kB / 1.287 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.3696, allocations: 4 kB / 1.287 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3696, allocations: 23.86 kB / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3698, allocations: 55.8 kB / 1.287 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3698, allocations: 0 / 1.287 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3698, allocations: 4 kB / 1.287 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3698, allocations: 0 / 1.287 GB, free: 1.25 MB / 0.9825 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.000494/0.3703, allocations: 290.1 kB / 1.287 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3703, allocations: 8.031 kB / 1.287 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3703, allocations: 12.89 kB / 1.287 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3705, allocations: 110.5 kB / 1.287 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3705, allocations: 4.375 kB / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3705, allocations: 384 / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3707, allocations: 62.22 kB / 1.287 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3707, allocations: 4.188 kB / 1.287 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3707, allocations: 7.938 kB / 1.287 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3707, allocations: 0 / 1.287 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.3709, allocations: 47.95 kB / 1.287 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3713, allocations: 255.8 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3717, allocations: 54.53 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3718, allocations: 24.91 kB / 1.287 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.3719, allocations: 23.97 kB / 1.287 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.372, allocations: 30.56 kB / 1.288 GB, free: 212 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.372, allocations: 0 / 1.288 GB, free: 212 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003915/0.3724, allocations: 93.58 kB / 1.288 GB, free: 112 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3724, allocations: 51.41 kB / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3725, allocations: 117.8 kB / 1.288 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3725, allocations: 25.7 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.3726, allocations: 96.08 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3726, allocations: 5.375 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3727, allocations: 13.72 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3728, allocations: 322.8 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.3729, allocations: 19.98 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.373, allocations: 19.98 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3731, allocations: 44.81 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3732, allocations: 3.938 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002294/0.3734, allocations: 73.66 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3734, allocations: 7.984 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3734, allocations: 0 / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3734, allocations: 4 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.3735, allocations: 15.92 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3735, allocations: 4 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.3736, allocations: 4 kB / 1.288 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3736, allocations: 0 / 1.288 GB, free: 15.24 MB / 0.9981 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 (bin.y,rea2Int.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 8.907e-05/0.3737, allocations: 118.1 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3737, allocations: 7.953 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.374, allocations: 93.56 kB / 1.289 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.374, allocations: 0 / 1.289 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.374, allocations: 0 / 1.289 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.374, allocations: 0 / 1.289 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3742, allocations: 148.7 kB / 1.289 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3742, allocations: 0 / 1.289 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.3742, allocations: 11.98 kB / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3743, allocations: 0 / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3743, allocations: 0 / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3743, allocations: 0 / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3743, allocations: 4 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3745, allocations: 183.4 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.3746, allocations: 3.953 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3746, allocations: 4 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.3747, allocations: 7.984 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3747, allocations: 8 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3747, allocations: 4 kB / 1.289 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.3748, allocations: 87.58 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3748, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00025/0.375, allocations: 16 kB / 1.289 GB, free: 14.48 MB / 0.9981 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.0001785/0.3752, allocations: 111.2 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3754, allocations: 47.95 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3754, allocations: 7.938 kB / 1.289 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.3755, allocations: 31.84 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3758, allocations: 7.938 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3761, allocations: 143.2 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3765, allocations: 0.6807 MB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.3766, allocations: 15.42 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3766, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.002781/0.3794, allocations: 0.9725 MB / 1.291 GB, free: 12.41 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 11.48127714099246]