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.001628/0.001628, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002189/0.002189, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.098 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.365/3.365, allocations: 0.49 GB / 0.7958 GB, free: 33.56 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.002002/0.002002, allocations: 68.62 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3921, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001889/0.394, allocations: 0.5865 MB / 1.328 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004289/0.3945, allocations: 112 kB / 1.328 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.3945, allocations: 0 / 1.328 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3945, allocations: 4 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.3945, allocations: 0 / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3949, allocations: 35.89 kB / 1.328 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.395, allocations: 67.92 kB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3951, allocations: 4 kB / 1.328 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.3951, allocations: 19.98 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.3952, allocations: 23.95 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3952, allocations: 4 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.3954, allocations: 55.95 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.3954, allocations: 23.91 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3954, allocations: 27.92 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3956, allocations: 67.77 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3956, allocations: 0 / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3956, allocations: 3.938 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3956, allocations: 7.938 kB / 1.328 GB, free: 412 kB / 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.0005274/0.3961, allocations: 290.3 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3962, allocations: 8.031 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.3962, allocations: 8.891 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3963, allocations: 114.5 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.3968, allocations: 0.5299 MB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3968, allocations: 4.375 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3971, allocations: 82.12 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3971, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3971, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3971, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.3975, allocations: 135.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3977, allocations: 144.7 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.398, allocations: 98.52 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3981, allocations: 36.83 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.3981, allocations: 4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3982, allocations: 30.56 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 3.316e-06/0.3982, allocations: 3.984 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005388/0.3987, allocations: 162 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3987, allocations: 51.41 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.3988, allocations: 97.86 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3988, allocations: 25.7 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.3989, allocations: 80.14 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.3989, allocations: 39.69 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.399, allocations: 29.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3991, allocations: 310.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3992, allocations: 35.97 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3994, allocations: 31.97 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.3996, allocations: 84.69 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3996, allocations: 4 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.3999, allocations: 109.6 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3999, allocations: 7.938 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4001, allocations: 27.97 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4001, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.4002, allocations: 11.89 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4002, allocations: 8 kB / 1.331 GB, free: 13.52 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.0001012/0.4003, allocations: 126.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.4003, allocations: 7.875 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.4004, allocations: 11.91 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4004, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4004, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4004, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4005, allocations: 156.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4005, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4007, allocations: 23.98 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4007, allocations: 3.938 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4007, allocations: 11.98 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4007, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4007, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.401, allocations: 133 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.401, allocations: 15.83 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4011, allocations: 11.92 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.4011, allocations: 8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.4012, allocations: 7.984 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4012, allocations: 11.98 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.4012, allocations: 75.28 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4012, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002264/0.4014, allocations: 16 kB / 1.331 GB, free: 12.82 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.0002042/0.4016, allocations: 115.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.402, allocations: 87.88 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.402, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4021, allocations: 52.61 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.4023, allocations: 8 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.4027, allocations: 186.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.403, allocations: 0.6885 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.4031, allocations: 19.42 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4031, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Templates: time 0.003236/0.4063, allocations: 1.322 MB / 1.334 GB, free: 10.28 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.824516037013382]