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.001354/0.001354, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001313/0.001313, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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.901/0.901, allocations: 177.2 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.087e-05, allocations: 4.281 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001809/0.00184, allocations: 0.5982 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003906/0.002231, allocations: 99.66 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.002255, allocations: 4.562 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.002299, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.464e-06/0.002306, allocations: 4.625 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.002718, allocations: 44.72 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.002855, allocations: 59.94 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.002895, allocations: 7.984 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.002953, allocations: 32.62 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.002999, allocations: 17.62 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.003018, allocations: 0 / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.003172, allocations: 55.92 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.003212, allocations: 23.97 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.003244, allocations: 19.91 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.003422, allocations: 85.34 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.003425, allocations: 0 / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003426, allocations: 0 / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.003433, allocations: 3.984 kB / 0.7882 GB, free: 11.39 MB / 0.7448 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.000496/0.003929, allocations: 396.8 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.003971, allocations: 8.031 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.004039, allocations: 28.67 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.447e-05/0.004113, allocations: 112.6 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.004434, allocations: 0.526 MB / 0.7892 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.004452, allocations: 8.359 kB / 0.7892 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.004685, allocations: 90.83 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004693, allocations: 4.188 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.004705, allocations: 384 / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.004715, allocations: 4.125 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.004885, allocations: 104.5 kB / 0.7894 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.005045, allocations: 124.6 kB / 0.7895 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.005182, allocations: 71.56 kB / 0.7896 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.005238, allocations: 32.48 kB / 0.7896 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.005261, allocations: 8 kB / 0.7896 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.005288, allocations: 34.53 kB / 0.7897 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.005289, allocations: 4 kB / 0.7897 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002895/0.005579, allocations: 110.4 kB / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.005616, allocations: 56.78 kB / 0.7898 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.005667, allocations: 146.2 kB / 0.79 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.005682, allocations: 29.7 kB / 0.79 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.005716, allocations: 126.9 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.00577, allocations: 36.91 kB / 0.7902 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.005824, allocations: 35.36 kB / 0.7902 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.005979, allocations: 496.1 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.006028, allocations: 24.58 kB / 0.7907 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.006072, allocations: 24.69 kB / 0.7907 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.006168, allocations: 43.67 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.00617, allocations: 1.188 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001558/0.006326, allocations: 77.67 kB / 0.7908 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.006342, allocations: 4 kB / 0.7908 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006348, allocations: 0.75 kB / 0.7908 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006363, allocations: 9.281 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.006525, allocations: 35.91 kB / 0.7909 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.006532, allocations: 3.938 kB / 0.7909 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.006578, allocations: 7.953 kB / 0.7909 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.006594, allocations: 11.23 kB / 0.7909 GB, free: 8.289 MB / 0.7448 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.398e-05/0.006678, allocations: 156.6 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.0067, allocations: 8 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.006728, allocations: 11.97 kB / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.006731, allocations: 0 / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006735, allocations: 0 / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.00674, allocations: 3.938 kB / 0.7911 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.006846, allocations: 140.5 kB / 0.7912 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006848, allocations: 1.094 kB / 0.7912 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.006945, allocations: 23.92 kB / 0.7912 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.006949, allocations: 4.484 kB / 0.7912 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.006962, allocations: 4 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.006964, allocations: 0.5625 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006966, allocations: 0.5625 kB / 0.7912 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.007151, allocations: 134 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.007161, allocations: 7.953 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.007176, allocations: 0 / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.007219, allocations: 4.812 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.007279, allocations: 15.97 kB / 0.7914 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.007289, allocations: 7.984 kB / 0.7914 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.007322, allocations: 124.4 kB / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007322, allocations: 0 / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002531/0.007575, allocations: 20 kB / 0.7915 GB, free: 7.574 MB / 0.7448 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.000198/0.007773, allocations: 120.5 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.007947, allocations: 68.12 kB / 0.7917 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007949, allocations: 0 / 0.7917 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.008017, allocations: 49.06 kB / 0.7918 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.00818, allocations: 13.16 kB / 0.7918 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.008507, allocations: 142.2 kB / 0.7919 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008547, allocations: 64.56 kB / 0.792 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.008649, allocations: 31.19 kB / 0.792 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.008695, allocations: 25.58 kB / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.008696, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.003855/0.01255, allocations: 1.228 MB / 0.7932 GB, free: 5.82 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.644901057705283]