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.002435/0.002435, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002826/0.002826, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.977/2.977, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.392e-06/1.392e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.916e-05, allocations: 7.125 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001667/0.001696, allocations: 0.5939 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.002083, allocations: 107.6 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.002103, allocations: 0.7812 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.002143, allocations: 0 / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.002148, allocations: 1.25 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.00248, allocations: 39.81 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.002604, allocations: 63.92 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.002637, allocations: 9.531 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.002704, allocations: 31.95 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.002753, allocations: 23.95 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.002776, allocations: 7.938 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.002918, allocations: 47.94 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.002962, allocations: 21.47 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.002991, allocations: 11.98 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.003183, allocations: 95.67 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003186, allocations: 0 / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003186, allocations: 3.156 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.003189, allocations: 0 / 0.7875 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.0005996/0.003789, allocations: 400.2 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.003827, allocations: 12.03 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.003894, allocations: 16.89 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.004004, allocations: 108.6 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005016/0.004506, allocations: 0.526 MB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.004525, allocations: 12.31 kB / 0.7885 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.004769, allocations: 75.27 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.004776, allocations: 192 / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.004787, allocations: 384 / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004794, allocations: 4.719 kB / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.005186, allocations: 128.5 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.005372, allocations: 124.6 kB / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.005689, allocations: 99.39 kB / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.005835, allocations: 37.27 kB / 0.7889 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.005863, allocations: 4 kB / 0.7889 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.005896, allocations: 33.39 kB / 0.789 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.005897, allocations: 0 / 0.789 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000553/0.00645, allocations: 134.5 kB / 0.7891 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.006495, allocations: 56.28 kB / 0.7892 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.006593, allocations: 154.1 kB / 0.7893 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.006617, allocations: 26.2 kB / 0.7893 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.006682, allocations: 126.9 kB / 0.7895 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.006741, allocations: 48.2 kB / 0.7895 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.006804, allocations: 39.98 kB / 0.7895 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002775/0.007081, allocations: 0.4884 MB / 0.79 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.007221, allocations: 33.36 kB / 0.79 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.007345, allocations: 19.98 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.007609, allocations: 64.25 kB / 0.7901 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.00761, allocations: 1.625 kB / 0.7901 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003451/0.007955, allocations: 105.6 kB / 0.7902 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007967, allocations: 4 kB / 0.7902 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.007972, allocations: 4 kB / 0.7902 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007984, allocations: 2.031 kB / 0.7902 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.008146, allocations: 27.92 kB / 0.7903 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.008153, allocations: 3.938 kB / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.008219, allocations: 11.94 kB / 0.7903 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.008232, allocations: 4 kB / 0.7903 GB, free: 8.492 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.000124/0.008356, allocations: 161.2 kB / 0.7904 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.008377, allocations: 6.5 kB / 0.7904 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.008416, allocations: 11.97 kB / 0.7905 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.00842, allocations: 3.984 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.008423, allocations: 0 / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.008428, allocations: 3.938 kB / 0.7905 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.008567, allocations: 124.6 kB / 0.7906 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008568, allocations: 1.781 kB / 0.7906 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.008701, allocations: 27.91 kB / 0.7906 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.008706, allocations: 4 kB / 0.7906 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.008715, allocations: 3.938 kB / 0.7906 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008716, allocations: 0 / 0.7906 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.00872, allocations: 4.516 kB / 0.7906 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.009128, allocations: 149.5 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.009138, allocations: 7.922 kB / 0.7908 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.009155, allocations: 5.625 kB / 0.7908 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.009213, allocations: 4 kB / 0.7908 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.009266, allocations: 11.97 kB / 0.7908 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.009277, allocations: 4 kB / 0.7908 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.009341, allocations: 125.3 kB / 0.7909 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009341, allocations: 0 / 0.7909 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002102/0.009551, allocations: 23.94 kB / 0.7909 GB, free: 7.766 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.0001974/0.009748, allocations: 131.1 kB / 0.7911 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.0101, allocations: 80.16 kB / 0.7911 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0101, allocations: 1.125 kB / 0.7911 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.01027, allocations: 59.59 kB / 0.7912 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.01041, allocations: 16.78 kB / 0.7912 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.01081, allocations: 150.8 kB / 0.7914 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.01089, allocations: 71.33 kB / 0.7914 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.011, allocations: 41.39 kB / 0.7915 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01105, allocations: 16.44 kB / 0.7915 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01105, allocations: 0 / 0.7915 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.004296/0.01534, allocations: 1.029 MB / 0.7925 GB, free: 6.145 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","/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.9645794129464775]