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.001399/0.001399, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001573/0.001573, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.452/1.452, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.768/2.768, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",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.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",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.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.052e-05, allocations: 5.984 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001756/0.001787, allocations: 0.5898 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.002213, allocations: 104.8 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.002235, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.00228, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-06/0.002289, allocations: 5.562 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.002685, allocations: 35.89 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.002825, allocations: 67.86 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.002862, allocations: 7.984 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.002932, allocations: 33.19 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.002983, allocations: 19.95 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.003003, allocations: 0 / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.003163, allocations: 52.56 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.003218, allocations: 31.89 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.003255, allocations: 13.39 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.003457, allocations: 79.81 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003459, allocations: 3.938 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00346, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.003465, allocations: 0.8438 kB / 0.7875 GB, free: 11.71 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.0005547/0.004019, allocations: 298.2 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.004054, allocations: 8.594 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.004129, allocations: 25.58 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.004231, allocations: 109.7 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005129/0.004744, allocations: 0.5269 MB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.00476, allocations: 4.375 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.005029, allocations: 82.84 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.005038, allocations: 192 / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.00505, allocations: 2.031 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.00506, allocations: 8.125 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.005456, allocations: 123.8 kB / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.005648, allocations: 125.2 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.005987, allocations: 96.05 kB / 0.7888 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.006146, allocations: 36.83 kB / 0.7888 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.006174, allocations: 4 kB / 0.7888 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.006209, allocations: 34.56 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.00621, allocations: 0.75 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0006269/0.006837, allocations: 157.2 kB / 0.789 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.006889, allocations: 59.34 kB / 0.7891 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.006955, allocations: 97.75 kB / 0.7892 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.006981, allocations: 25.7 kB / 0.7892 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.007023, allocations: 80.14 kB / 0.7893 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.007087, allocations: 43.62 kB / 0.7893 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.007151, allocations: 33.69 kB / 0.7894 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.007347, allocations: 310.8 kB / 0.7897 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.007507, allocations: 35.97 kB / 0.7897 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.007648, allocations: 32.69 kB / 0.7897 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.007949, allocations: 72.81 kB / 0.7898 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007951, allocations: 0.875 kB / 0.7898 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003824/0.008334, allocations: 118.3 kB / 0.7899 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.00835, allocations: 9.719 kB / 0.7899 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008355, allocations: 0 / 0.7899 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.008371, allocations: 0.5312 kB / 0.7899 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.008524, allocations: 21.36 kB / 0.7899 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.008536, allocations: 7.938 kB / 0.7899 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.00861, allocations: 15.94 kB / 0.79 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.008622, allocations: 0 / 0.79 GB, free: 8.863 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 0.0001047/0.008726, allocations: 119 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.008753, allocations: 7.938 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.008796, allocations: 16.75 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008798, allocations: 0 / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.008802, allocations: 0.5938 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.00881, allocations: 9.297 kB / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.008945, allocations: 113.3 kB / 0.7902 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008947, allocations: 0 / 0.7902 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.009086, allocations: 31.97 kB / 0.7902 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009088, allocations: 0.5625 kB / 0.7902 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.009108, allocations: 1.344 kB / 0.7902 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.009113, allocations: 4 kB / 0.7902 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009113, allocations: 0 / 0.7902 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.009534, allocations: 157.6 kB / 0.7904 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.009542, allocations: 4.844 kB / 0.7904 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.009562, allocations: 4 kB / 0.7904 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.196e-05/0.009624, allocations: 4.5 kB / 0.7904 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.009684, allocations: 12.53 kB / 0.7904 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.009694, allocations: 8 kB / 0.7904 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.009737, allocations: 79.78 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009737, allocations: 1.312 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002412/0.009978, allocations: 27.98 kB / 0.7905 GB, free: 8.227 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.0002186/0.0102, allocations: 123.8 kB / 0.7906 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.01056, allocations: 85.36 kB / 0.7907 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01056, allocations: 4 kB / 0.7907 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.01073, allocations: 44.12 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.01088, allocations: 9.547 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.01132, allocations: 165.7 kB / 0.7909 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.32e-05/0.0114, allocations: 67.34 kB / 0.791 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.01154, allocations: 40.02 kB / 0.791 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.0116, allocations: 21.45 kB / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.0116, allocations: 0 / 0.7911 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.004003/0.0156, allocations: 1.021 MB / 0.7921 GB, free: 6.641 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.6081661930074915]