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.001398/0.001398, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00177/0.00177, allocations: 222.3 kB / 23 MB, free: 4.91 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.87/2.87, allocations: 476 MB / 0.7707 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002147/0.002147, allocations: 67.03 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 169.9 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001918/0.3713, allocations: 0.6052 MB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.3718, allocations: 95.67 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3718, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.3718, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.3718, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3722, allocations: 43.89 kB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3723, allocations: 63.94 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.3724, allocations: 12.02 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.3724, allocations: 19.98 kB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.3725, allocations: 27.91 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3725, allocations: 0 / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3726, allocations: 55.94 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.3727, allocations: 19.97 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3727, allocations: 23.92 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3729, allocations: 71.77 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3729, allocations: 0 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3729, allocations: 0 / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3729, allocations: 4 kB / 1.285 GB, free: 10.95 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005428/0.3734, allocations: 294.3 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3735, allocations: 12.03 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.3735, allocations: 8.891 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/0.3736, allocations: 106.5 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.3741, allocations: 0.5376 MB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3741, allocations: 4.375 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.3744, allocations: 86.12 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3744, allocations: 3.938 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3744, allocations: 0 / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3744, allocations: 0 / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.3748, allocations: 131.8 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.375, allocations: 117.3 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3753, allocations: 90.45 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3755, allocations: 36.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3755, allocations: 7.984 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.3755, allocations: 46.42 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3755, allocations: 336 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005819/0.3761, allocations: 149.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3762, allocations: 55.39 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.3762, allocations: 93.86 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3763, allocations: 29.7 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.3763, allocations: 80.14 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.3764, allocations: 35.7 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3764, allocations: 29.69 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3766, allocations: 314.8 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3768, allocations: 31.97 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3769, allocations: 35.92 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3772, allocations: 72.75 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3772, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003304/0.3775, allocations: 117.6 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3775, allocations: 6.188 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3775, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3775, allocations: 3.938 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3777, allocations: 27.98 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3777, allocations: 7.875 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.3778, allocations: 19.88 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3778, allocations: 4 kB / 1.287 GB, free: 8.094 MB / 0.9825 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.0001107/0.3779, allocations: 118.9 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.3779, allocations: 4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.378, allocations: 15.84 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.378, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.378, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.378, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3781, allocations: 125.2 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3781, allocations: 0 / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3782, allocations: 27.97 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3782, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3782, allocations: 4 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3782, allocations: 7.938 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3782, allocations: 7.938 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.3786, allocations: 137.8 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.3786, allocations: 19.89 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3786, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.3787, allocations: 7.938 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.3788, allocations: 15.97 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3788, allocations: 4 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.3788, allocations: 75.28 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3788, allocations: 3.938 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002337/0.379, allocations: 23.98 kB / 1.288 GB, free: 7.449 MB / 0.9825 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.0002693/0.3793, allocations: 119.1 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.3797, allocations: 83.97 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3797, allocations: 3.938 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3798, allocations: 47.91 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.38, allocations: 8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.3804, allocations: 182.5 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.3805, allocations: 67.34 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.3806, allocations: 23.42 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3806, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.003432/0.384, allocations: 1.336 MB / 1.29 GB, free: 5.527 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.643087467178702]