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.001357/0.001357, 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.001392/0.001392, 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 1.042/1.042, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.846/1.846, allocations: 359 MB / 0.6052 GB, free: 11 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.393e-06/1.393e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.895e-05, allocations: 5.859 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001138/0.001157, allocations: 0.5955 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.001441, allocations: 104.8 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.00146, allocations: 0 / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.001501, allocations: 0 / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-06/0.001507, allocations: 0 / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.001816, allocations: 44.67 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.001919, allocations: 63.92 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.001949, allocations: 1.406 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.001991, allocations: 31.95 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.002024, allocations: 23.95 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.002041, allocations: 4 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.002147, allocations: 49 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.002181, allocations: 27.89 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.002203, allocations: 17.55 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.002329, allocations: 79.81 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00233, allocations: 4 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002331, allocations: 0 / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002335, allocations: 7.875 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.0003623/0.002697, allocations: 401.8 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.00273, allocations: 8.031 kB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.002777, allocations: 21.23 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.345e-05/0.002831, allocations: 108.6 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.003055, allocations: 0.5348 MB / 0.7892 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003068, allocations: 384 / 0.7892 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.003231, allocations: 91.39 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.003238, allocations: 0.7188 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003247, allocations: 384 / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.003255, allocations: 9.312 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.003369, allocations: 103.8 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.003489, allocations: 128.6 kB / 0.7895 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.003585, allocations: 81.23 kB / 0.7896 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.003624, allocations: 27.67 kB / 0.7896 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.003646, allocations: 4 kB / 0.7896 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.003665, allocations: 37.39 kB / 0.7897 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 7.52e-07/0.003666, allocations: 0 / 0.7897 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002053/0.003871, allocations: 115.9 kB / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.003896, allocations: 51.62 kB / 0.7898 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.106e-05/0.003937, allocations: 146.2 kB / 0.79 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.003947, allocations: 29.64 kB / 0.79 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.003971, allocations: 130.9 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.004012, allocations: 44.39 kB / 0.7902 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.004047, allocations: 31.89 kB / 0.7902 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.004144, allocations: 0.4884 MB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/0.004177, allocations: 13.64 kB / 0.7907 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.004207, allocations: 24.03 kB / 0.7907 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.004278, allocations: 47.61 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004279, allocations: 4 kB / 0.7908 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001108/0.00439, allocations: 82.27 kB / 0.7908 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.0044, allocations: 5.062 kB / 0.7908 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004404, allocations: 0 / 0.7908 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.004418, allocations: 0 / 0.7908 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.004519, allocations: 29.12 kB / 0.7909 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.004525, allocations: 3.938 kB / 0.7909 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.004557, allocations: 11.95 kB / 0.7909 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.004566, allocations: 9.359 kB / 0.7909 GB, free: 8.293 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 5.905e-05/0.004625, allocations: 160.5 kB / 0.791 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.004635, allocations: 4 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.004658, allocations: 13.72 kB / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00466, allocations: 4 kB / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.004664, allocations: 0 / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.004667, allocations: 3.938 kB / 0.7911 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.059e-05/0.004738, allocations: 129.5 kB / 0.7912 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004738, allocations: 0 / 0.7912 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.004796, allocations: 27.98 kB / 0.7912 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004797, allocations: 1.469 kB / 0.7912 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.004806, allocations: 3.984 kB / 0.7912 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004806, allocations: 0 / 0.7912 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004807, allocations: 0 / 0.7912 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.00493, allocations: 138.1 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.004935, allocations: 3.953 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.004946, allocations: 8 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.004973, allocations: 7.062 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.005017, allocations: 15.97 kB / 0.7914 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.005021, allocations: 0 / 0.7914 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.005048, allocations: 127.1 kB / 0.7915 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005048, allocations: 4 kB / 0.7915 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001501/0.005198, allocations: 20 kB / 0.7915 GB, free: 7.578 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.0001277/0.005326, allocations: 119.7 kB / 0.7917 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.005447, allocations: 69.47 kB / 0.7917 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005448, allocations: 4 kB / 0.7917 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.005493, allocations: 44.25 kB / 0.7918 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.005597, allocations: 14.11 kB / 0.7918 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.005828, allocations: 152.2 kB / 0.7919 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.00586, allocations: 63.34 kB / 0.792 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.005924, allocations: 34.94 kB / 0.792 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.005958, allocations: 16.48 kB / 0.792 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.005958, allocations: 0.8438 kB / 0.792 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.002545/0.008504, allocations: 1.025 MB / 0.793 GB, free: 6.02 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.188250805716962]