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.001328/0.001328, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001569/0.001569, allocations: 214 kB / 22.99 MB, free: 4.957 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.527/1.527, 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.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 35.29 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.002001/0.002001, allocations: 65.59 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3949, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002132/0.3971, allocations: 0.5945 MB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004643/0.3975, allocations: 116 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.3976, allocations: 0 / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.3976, allocations: 0 / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-06/0.3976, allocations: 0 / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.398, allocations: 35.91 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3981, allocations: 71.92 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.3982, allocations: 0 / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.3982, allocations: 23.98 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.3983, allocations: 23.95 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3983, allocations: 4 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3984, allocations: 55.94 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.3985, allocations: 23.92 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.3985, allocations: 15.92 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3987, allocations: 79.75 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3987, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3987, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3987, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 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.0005727/0.3993, allocations: 290.3 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3993, allocations: 12.03 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.3994, allocations: 12.88 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3995, allocations: 110.4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/0.3999, allocations: 0.526 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.4, allocations: 12.36 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.4002, allocations: 78.14 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4002, allocations: 3.938 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4002, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4002, allocations: 8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.4006, allocations: 127.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.4008, allocations: 113.3 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.4011, allocations: 98.39 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.4013, allocations: 44.77 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4013, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4013, allocations: 30.56 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.4013, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005889/0.4019, allocations: 161.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4019, allocations: 55.41 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.402, allocations: 89.86 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.402, allocations: 25.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.4021, allocations: 84.14 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.4021, allocations: 35.69 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.4022, allocations: 29.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4023, allocations: 310.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4025, allocations: 35.97 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4026, allocations: 31.97 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.4029, allocations: 76.75 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4029, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003681/0.4033, allocations: 117.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4033, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4033, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.4033, allocations: 7.938 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.4035, allocations: 23.97 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4035, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.4035, allocations: 11.89 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.4036, allocations: 11.98 kB / 1.331 GB, free: 13.12 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 0.0001035/0.4037, allocations: 114.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.4037, allocations: 8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.4037, allocations: 11.84 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4037, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4037, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4037, allocations: 3.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.4039, allocations: 129.2 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4039, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.404, allocations: 23.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.404, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.404, allocations: 7.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.404, allocations: 11.94 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.404, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.4044, allocations: 133.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.4044, allocations: 11.89 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.4044, allocations: 7.984 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.4045, allocations: 7.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.4046, allocations: 15.86 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4046, allocations: 7.984 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.4046, allocations: 75.28 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4046, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002275/0.4048, allocations: 24 kB / 1.331 GB, free: 12.46 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.0002036/0.405, allocations: 119.2 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.4054, allocations: 83.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4054, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4056, allocations: 43.97 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4057, allocations: 5.031 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4061, allocations: 172.7 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.45e-05/0.4062, allocations: 71.28 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.4064, allocations: 39.95 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.4064, allocations: 19.42 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4064, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Templates: time 0.003697/0.4101, allocations: 1.031 MB / 1.333 GB, free: 10.84 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 -s cvode -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: 9.251232820999576]