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.0008702/0.0008702, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002052, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007185/0.0007185, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009688/0.001687, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9229/0.9229, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.825/1.825, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4422/2.267, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.443e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001709/0.001733, allocations: 0.6665 MB / 0.7304 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.001973, allocations: 103.2 kB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.885e-05/0.001992, allocations: 4 kB / 0.7305 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.00201, allocations: 0 / 0.7305 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.483e-06/0.002011, allocations: 0 / 0.7305 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.002251, allocations: 37.34 kB / 0.7305 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.002414, allocations: 71.88 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.002463, allocations: 8 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.00254, allocations: 32.72 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.002595, allocations: 24.45 kB / 0.7306 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.002619, allocations: 6.172 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.002798, allocations: 55.88 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.002846, allocations: 13.41 kB / 0.7307 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.002871, allocations: 9.312 kB / 0.7307 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.003063, allocations: 75.88 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.003077, allocations: 0.9844 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003078, allocations: 0 / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.003093, allocations: 0 / 0.7308 GB, free: 3.297 MB / 0.698 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.0004735/0.003566, allocations: 282.5 kB / 0.731 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.003604, allocations: 12.03 kB / 0.7311 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.003655, allocations: 12.94 kB / 0.7311 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.003731, allocations: 117.8 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.004039, allocations: 0.5232 MB / 0.7317 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.004058, allocations: 8.375 kB / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.00424, allocations: 84.31 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004248, allocations: 1.031 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004259, allocations: 384 / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.004266, allocations: 4.906 kB / 0.7318 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.004402, allocations: 80.83 kB / 0.7319 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.004524, allocations: 84.36 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.00462, allocations: 60.28 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.004657, allocations: 20.84 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.004677, allocations: 0.6875 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.004703, allocations: 39.44 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.004705, allocations: 1.406 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0001807/0.004885, allocations: 82.95 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.004917, allocations: 52.28 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.004954, allocations: 94.39 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.004971, allocations: 30.36 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.004997, allocations: 80.14 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.00505, allocations: 37.08 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.0051, allocations: 33.69 kB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005201, allocations: 314.8 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.005235, allocations: 12.53 kB / 0.7328 GB, free: 1.008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.005263, allocations: 14.69 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.005348, allocations: 40.72 kB / 0.7328 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.005352, allocations: 4 kB / 0.7328 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001141/0.005466, allocations: 63.81 kB / 0.7329 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.005482, allocations: 4 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.005488, allocations: 1.281 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.005506, allocations: 8 kB / 0.7329 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.005661, allocations: 23.97 kB / 0.7329 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.005668, allocations: 5.719 kB / 0.7329 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.005716, allocations: 11.98 kB / 0.7329 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.005729, allocations: 4.703 kB / 0.7329 GB, free: 0.8281 MB / 0.698 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 8.697e-05/0.005816, allocations: 116.7 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.005837, allocations: 5.234 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.005865, allocations: 15.91 kB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005868, allocations: 0 / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.00587, allocations: 0.6562 kB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005874, allocations: 0 / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.005971, allocations: 95.59 kB / 0.7332 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005973, allocations: 0 / 0.7332 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.006086, allocations: 31.95 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.006094, allocations: 4 kB / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006096, allocations: 2.125 kB / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.006107, allocations: 7.984 kB / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006109, allocations: 0 / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00611, allocations: 1.25 kB / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.006249, allocations: 94.95 kB / 0.7333 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.006263, allocations: 0 / 0.7333 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.006312, allocations: 12.98 kB / 0.7333 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.006357, allocations: 7.984 kB / 0.7333 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.006367, allocations: 7.984 kB / 0.7333 GB, free: 404 kB / 0.698 GB Notification: Performance of sorting global known variables: time 8.105e-06/0.006376, allocations: 5.391 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.006376, allocations: 1.953 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001837/0.006559, allocations: 20 kB / 0.7334 GB, free: 376 kB / 0.698 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.0001795/0.006739, allocations: 105.7 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.006863, allocations: 52.94 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.006868, allocations: 4 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.006935, allocations: 49.03 kB / 0.7336 GB, free: 156 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.028e-05/0.007015, allocations: 16.45 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.007294, allocations: 144.3 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.007333, allocations: 64.09 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.007398, allocations: 15.78 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.007468, allocations: 63.3 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/0.007469, allocations: 3.219 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.003687/0.01116, allocations: 1.257 MB / 0.7351 GB, free: 14.62 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.804313296452165]