Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001572/0.001572, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001644/0.001644, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.842/2.842, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002084/0.002084, allocations: 82.06 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7938, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001569/0.7953, allocations: 0.5898 MB / 1.187 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.7957, allocations: 107.4 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.7957, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.7958, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.7958, allocations: 7.938 kB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.7961, allocations: 40.98 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.7962, allocations: 59.09 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.7962, allocations: 1.938 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.7963, allocations: 33.56 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.493e-05/0.7963, allocations: 20.47 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.7963, allocations: 2.75 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.7965, allocations: 52.25 kB / 1.188 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.7965, allocations: 21.83 kB / 1.188 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.7965, allocations: 17.33 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.7967, allocations: 76.81 kB / 1.188 GB, free: 15.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7967, allocations: 4.656 kB / 1.188 GB, free: 15.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7967, allocations: 0 / 1.188 GB, free: 15.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7967, allocations: 0 / 1.188 GB, free: 15.68 MB / 1.076 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.0004119/0.7971, allocations: 302 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.7971, allocations: 9.219 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.7972, allocations: 14.5 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.77e-05/0.7972, allocations: 109.6 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.7974, allocations: 0.5273 MB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.7975, allocations: 3.688 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.7977, allocations: 80.11 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.7977, allocations: 9.75 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7977, allocations: 0 / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7977, allocations: 1.219 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.7981, allocations: 127.7 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.7982, allocations: 124.7 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.7985, allocations: 94.2 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.7986, allocations: 39.11 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.7986, allocations: 6.438 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.7986, allocations: 33.62 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.7986, allocations: 3.938 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0005101/0.7992, allocations: 150.2 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.7992, allocations: 57.41 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.803e-05/0.7992, allocations: 94.52 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.7992, allocations: 26.8 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-06/0.7992, allocations: 81.2 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.7993, allocations: 39.39 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.7993, allocations: 31.09 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.7993, allocations: 313.3 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.7995, allocations: 38.2 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.7996, allocations: 37.91 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.7999, allocations: 74.42 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7999, allocations: 1.312 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.8002, allocations: 108.7 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8002, allocations: 5.219 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.8002, allocations: 7.875 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8002, allocations: 5.938 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.8004, allocations: 22.61 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8004, allocations: 1.812 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.8004, allocations: 4.062 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.8004, allocations: 9.391 kB / 1.19 GB, free: 13.5 MB / 1.076 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 5.443e-05/0.8005, allocations: 116.8 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.8005, allocations: 5.297 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.8005, allocations: 17.84 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8005, allocations: 1.344 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8005, allocations: 0 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8006, allocations: 2.75 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.919e-05/0.8006, allocations: 124.7 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8006, allocations: 0 / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.8008, allocations: 27.56 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8008, allocations: 4.875 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.8008, allocations: 3.953 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.8008, allocations: 3.938 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8008, allocations: 5.625 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.8011, allocations: 145.2 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.8011, allocations: 4.078 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.8011, allocations: 1.312 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.8012, allocations: 11.42 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.8012, allocations: 11.69 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.8013, allocations: 4.547 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.102e-05/0.8013, allocations: 83.22 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8013, allocations: 1.094 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000229/0.8015, allocations: 21.38 kB / 1.191 GB, free: 13.02 MB / 1.076 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.0001365/0.8016, allocations: 115.5 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.802, allocations: 83.23 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.802, allocations: 1.125 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.8021, allocations: 48.33 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.8023, allocations: 8 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.8026, allocations: 164.6 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.8026, allocations: 72.84 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.8028, allocations: 38.64 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.8028, allocations: 20.02 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.8028, allocations: 1.219 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of Templates: time 0.00355/0.8064, allocations: 0.9781 MB / 1.192 GB, free: 12.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.332694442011416]