Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001422/0.001422, 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.001574/0.001574, 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.445/1.445, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.681/2.681, allocations: 359 MB / 0.6048 GB, free: 10.96 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.202e-05, allocations: 6.125 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003087/0.003129, allocations: 1.566 MB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.003644, allocations: 175.5 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.003684, allocations: 0.5625 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.003713, allocations: 1.406 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.003773, allocations: 15.86 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.00415, allocations: 51.8 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.00425, allocations: 36.98 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.004347, allocations: 8 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.004404, allocations: 23.91 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.004453, allocations: 17.5 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.004472, allocations: 4 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.004621, allocations: 51.88 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.004638, allocations: 4 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.004675, allocations: 17.14 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.004873, allocations: 79.77 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004875, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004876, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.00488, allocations: 4.906 kB / 0.7884 GB, free: 10.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005437/0.005423, allocations: 283 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.005461, allocations: 8.031 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.005511, allocations: 7.406 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.005631, allocations: 109.8 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.005652, allocations: 384 / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.005668, allocations: 8.375 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.005879, allocations: 62.83 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.005891, allocations: 4.125 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005901, allocations: 2.125 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.005911, allocations: 4.375 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.006128, allocations: 47.89 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.006526, allocations: 209.2 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.006869, allocations: 63.62 kB / 0.7891 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.006977, allocations: 25.61 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.00714, allocations: 17.14 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.007168, allocations: 34.5 kB / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.007169, allocations: 0 / 0.7892 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004502/0.00762, allocations: 98.95 kB / 0.7893 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.007664, allocations: 55.41 kB / 0.7894 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.007853, allocations: 103.6 kB / 0.7895 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.007877, allocations: 29.64 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.007946, allocations: 92.16 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.007966, allocations: 11.88 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.008011, allocations: 23.02 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.008183, allocations: 314.8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/0.008282, allocations: 15.98 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.008376, allocations: 25 kB / 0.79 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.008563, allocations: 42.77 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.008564, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002505/0.008814, allocations: 85.53 kB / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.008831, allocations: 6.594 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008836, allocations: 256 / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.008858, allocations: 3.938 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.00895, allocations: 15.98 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008955, allocations: 0 / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.009018, allocations: 7.984 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.009024, allocations: 0.5312 kB / 0.7901 GB, free: 8.824 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001074/0.009131, allocations: 114.6 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.009163, allocations: 8.469 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.00945, allocations: 82.98 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009453, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.009456, allocations: 0 / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009458, allocations: 4.906 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.009618, allocations: 105.3 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00962, allocations: 0 / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.009708, allocations: 16.7 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.009711, allocations: 1.281 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.00972, allocations: 7.938 kB / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009722, allocations: 0 / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009722, allocations: 0 / 0.7904 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01004, allocations: 172.7 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.01005, allocations: 5.266 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01007, allocations: 7.922 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.01017, allocations: 13.3 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01022, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01022, allocations: 11.92 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.01028, allocations: 83.28 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 1.75 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002579/0.01054, allocations: 15.94 kB / 0.7907 GB, free: 8.129 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001987/0.01074, allocations: 115.2 kB / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.011, allocations: 50.55 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.011, allocations: 0 / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.01111, allocations: 23.97 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01138, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01173, allocations: 129.5 kB / 0.791 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.01181, allocations: 76.66 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.01184, allocations: 4.188 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.01188, allocations: 14.44 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01188, allocations: 0 / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.003893/0.01577, allocations: 1.009 MB / 0.7921 GB, free: 6.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.484599884017371]