Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001888/0.001888, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002112/0.002112, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.37/3.37, allocations: 0.4892 GB / 0.7951 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002108/0.002108, allocations: 72.66 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001754/0.3965, allocations: 0.5787 MB / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004202/0.3969, allocations: 112.1 kB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.3969, allocations: 4 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.397, allocations: 3.938 kB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.397, allocations: 0 / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.3973, allocations: 31.91 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.3975, allocations: 71.86 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.3975, allocations: 3.938 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.3976, allocations: 23.98 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.3976, allocations: 27.95 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3976, allocations: 0 / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3978, allocations: 47.95 kB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.3978, allocations: 31.95 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.3978, allocations: 15.94 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.398, allocations: 71.77 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.398, allocations: 0 / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.398, allocations: 0 / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.398, allocations: 0 / 1.327 GB, free: 0.8086 MB / 1.014 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.0005282/0.3986, allocations: 298.2 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3986, allocations: 8.031 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3986, allocations: 12.92 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.3987, allocations: 110.5 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004534/0.3992, allocations: 0.5337 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3992, allocations: 8.375 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3994, allocations: 82.14 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3995, allocations: 3.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3995, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3995, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.3998, allocations: 131.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.4, allocations: 117.3 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.4003, allocations: 90.56 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.4004, allocations: 44.98 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4005, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4005, allocations: 38.56 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.4005, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005286/0.401, allocations: 145.5 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4011, allocations: 55.41 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.4011, allocations: 89.86 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4011, allocations: 33.64 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.4012, allocations: 80.14 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.4012, allocations: 35.69 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.4013, allocations: 33.64 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4014, allocations: 318.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4016, allocations: 31.98 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4017, allocations: 39.97 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4019, allocations: 72.81 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4019, allocations: 3.938 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003198/0.4023, allocations: 114.2 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4023, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4023, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4023, allocations: 3.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4024, allocations: 35.91 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4025, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.4025, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4025, allocations: 7.984 kB / 1.33 GB, free: 13.95 MB / 1.029 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.297e-05/0.4026, allocations: 114.4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.4026, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.4027, allocations: 15.84 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4027, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4027, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4027, allocations: 3.984 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.4028, allocations: 121.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4028, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4029, allocations: 31.92 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4029, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4029, allocations: 3.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.403, allocations: 3.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.403, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4033, allocations: 145.1 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.4033, allocations: 11.89 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4033, allocations: 3.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.4034, allocations: 7.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.4035, allocations: 19.97 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.4035, allocations: 3.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.4035, allocations: 79.28 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4035, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002196/0.4037, allocations: 20 kB / 1.33 GB, free: 13.3 MB / 1.029 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.0001891/0.4039, allocations: 115.1 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4043, allocations: 87.88 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4043, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4044, allocations: 43.91 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4046, allocations: 13.88 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.405, allocations: 186.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.405, allocations: 71.33 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.4051, allocations: 23.42 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4051, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.003277/0.4084, allocations: 1.327 MB / 1.332 GB, free: 11.38 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.959270761813968]