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.0009663/0.0009663, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001123/0.001123, allocations: 169 kB / 24.28 MB, free: 284 kB / 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.9628/0.9628, allocations: 177.2 MB / 204.6 MB, free: 5.617 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.762/1.762, allocations: 359 MB / 0.6055 GB, free: 11.01 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.843e-06/1.843e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.424e-05, allocations: 6.906 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.004423/0.004447, allocations: 0.6011 MB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.004939, allocations: 95.67 kB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.004971, allocations: 0 / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.614e-05/0.005017, allocations: 0 / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-06/0.005025, allocations: 0.8125 kB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.005426, allocations: 47.81 kB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.005559, allocations: 64.73 kB / 0.7879 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.005598, allocations: 0 / 0.7879 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.005654, allocations: 42.05 kB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.005692, allocations: 15.97 kB / 0.788 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.005711, allocations: 4 kB / 0.788 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.005832, allocations: 59.86 kB / 0.7881 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.00587, allocations: 19.97 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.005897, allocations: 15.98 kB / 0.7881 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.006055, allocations: 88.8 kB / 0.7882 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.006057, allocations: 0 / 0.7882 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006058, allocations: 0 / 0.7882 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.006062, allocations: 1.562 kB / 0.7882 GB, free: 11.7 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.0004364/0.006499, allocations: 400.2 kB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.006538, allocations: 8.031 kB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.0066, allocations: 26.61 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.006673, allocations: 112.5 kB / 0.7887 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.006958, allocations: 0.5299 MB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.00697, allocations: 384 / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.01018, allocations: 96.8 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.01019, allocations: 192 / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.0102, allocations: 384 / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01021, allocations: 7.938 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.01037, allocations: 103.8 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.01052, allocations: 130.8 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01064, allocations: 74.97 kB / 0.7896 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.01068, allocations: 27.67 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01071, allocations: 8 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01073, allocations: 33.39 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.01073, allocations: 0.5625 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002607/0.01099, allocations: 111.5 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.01103, allocations: 59.28 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.648e-05/0.01107, allocations: 142.2 kB / 0.79 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.01109, allocations: 33.7 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.01113, allocations: 128.6 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.01117, allocations: 39.67 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.01122, allocations: 35.36 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01135, allocations: 496.1 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.01139, allocations: 15.98 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.01143, allocations: 16.86 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/0.01152, allocations: 56.2 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01153, allocations: 0.6562 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000144/0.01167, allocations: 83.55 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01169, allocations: 9.703 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01169, allocations: 0 / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.0117, allocations: 0 / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.01182, allocations: 27.98 kB / 0.7909 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01183, allocations: 6.344 kB / 0.7909 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.01187, allocations: 7.953 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.01188, allocations: 7.984 kB / 0.7909 GB, free: 8.598 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 7.515e-05/0.01196, allocations: 156.6 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.01197, allocations: 4 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.012, allocations: 12.69 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.012, allocations: 4 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.01201, allocations: 4.469 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01201, allocations: 3.984 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.01211, allocations: 134.1 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01211, allocations: 3.938 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.01218, allocations: 27.97 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01219, allocations: 0 / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.0122, allocations: 0.6562 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0122, allocations: 0 / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.0122, allocations: 9.25 kB / 0.7912 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01236, allocations: 129 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.01237, allocations: 4 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.01238, allocations: 1.156 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.01242, allocations: 7.984 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.01247, allocations: 15.92 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01248, allocations: 9.297 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.01251, allocations: 123.2 kB / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01251, allocations: 3.938 kB / 0.7915 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002187/0.01273, allocations: 20 kB / 0.7915 GB, free: 7.879 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.0001569/0.01289, allocations: 124.9 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003158/0.01605, allocations: 67.58 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01605, allocations: 1.281 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.01611, allocations: 39.67 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.01625, allocations: 11.98 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.01654, allocations: 147 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.01658, allocations: 68.16 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.194e-05/0.01667, allocations: 41.8 kB / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.01671, allocations: 20.5 kB / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.01671, allocations: 0 / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.009304/0.02601, allocations: 1.025 MB / 0.793 GB, free: 6.312 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: 5.056065067183226]