Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002057/0.002057, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002267/0.002267, allocations: 214 kB / 22.99 MB, free: 4.984 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_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.001874/0.001874, allocations: 69.83 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4943, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.004518/0.4988, allocations: 1.562 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.4996, allocations: 179.4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.4996, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.4996, allocations: 3.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.4997, allocations: 7.938 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.5001, allocations: 51.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.5002, allocations: 35.92 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.5003, allocations: 11.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.5003, allocations: 19.92 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.5004, allocations: 15.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.5004, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.5006, allocations: 55.94 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.5006, allocations: 7.984 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.5006, allocations: 11.94 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.5008, allocations: 67.72 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5008, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5008, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.5008, allocations: 4 kB / 1.329 GB, free: 14.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005887/0.5014, allocations: 286.2 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5015, allocations: 12.03 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.5015, allocations: 4.891 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.5016, allocations: 110.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5017, allocations: 4.375 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.5017, allocations: 8.312 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.502, allocations: 62.22 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.502, allocations: 192 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.502, allocations: 7.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.502, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.5023, allocations: 43.95 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.5027, allocations: 220.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.5033, allocations: 58.48 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.5034, allocations: 24.89 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.5036, allocations: 19.98 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5036, allocations: 30.56 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.5036, allocations: 7.875 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006295/0.5043, allocations: 97.56 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.5043, allocations: 51.41 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5045, allocations: 101.9 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.5045, allocations: 29.69 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.5046, allocations: 92.09 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.5046, allocations: 7.953 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.5047, allocations: 17.72 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.5049, allocations: 314.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5051, allocations: 19.98 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.5052, allocations: 24.16 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.5056, allocations: 41.16 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.5056, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003887/0.506, allocations: 89.58 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5061, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5061, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5061, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5062, allocations: 11.98 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5062, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.5063, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.5063, allocations: 0 / 1.331 GB, free: 12.98 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: 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 0.0001512/0.5064, allocations: 128 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.5065, allocations: 3.953 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.5069, allocations: 85.27 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.507, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.507, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.507, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.5072, allocations: 117.2 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5072, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5074, allocations: 19.92 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5074, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5074, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.5074, allocations: 3.984 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5074, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.5079, allocations: 175.4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.5079, allocations: 3.953 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.508, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5081, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.5082, allocations: 15.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.5082, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.5083, allocations: 87.27 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5083, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004958/0.5088, allocations: 23.88 kB / 1.331 GB, free: 12.26 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: 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.0002926/0.5091, allocations: 111.2 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.5095, allocations: 43.95 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5095, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5096, allocations: 27.97 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.5101, allocations: 8.062 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.5106, allocations: 125.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.895e-05/0.5106, allocations: 63.67 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.789e-05/0.5107, allocations: 8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.5107, allocations: 15.42 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.5107, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.00554/0.5163, allocations: 1.016 MB / 1.333 GB, free: 10.79 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.765583998989314]