Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008942/0.0008942, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001037/0.001037, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9351/0.9351, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9822 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.446e-05, allocations: 2.281 kB / 0.9822 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001943/0.001977, allocations: 0.5908 MB / 0.9828 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.002406, allocations: 103.6 kB / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.002434, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.00247, allocations: 0 / 0.9829 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-06/0.002478, allocations: 4 kB / 0.9829 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.002944, allocations: 43.83 kB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.003089, allocations: 63.92 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.003136, allocations: 0 / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.0032, allocations: 35.95 kB / 0.9831 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.003252, allocations: 19.95 kB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003276, allocations: 7.938 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.003434, allocations: 51.94 kB / 0.9831 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.003479, allocations: 23.91 kB / 0.9832 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.003521, allocations: 19.97 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.003718, allocations: 79.81 kB / 0.9833 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.003724, allocations: 11.94 kB / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.003726, allocations: 0 / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.003732, allocations: 0 / 0.9833 GB, free: 0.957 MB / 0.9323 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.0005185/0.00425, allocations: 300.8 kB / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.004295, allocations: 8.031 kB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.004351, allocations: 4.938 kB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.004435, allocations: 109.7 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.004828, allocations: 0.5299 MB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.004844, allocations: 384 / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.005079, allocations: 86.12 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.005091, allocations: 12.12 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.005105, allocations: 384 / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.005113, allocations: 4.125 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.005419, allocations: 127.8 kB / 0.9844 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.0056, allocations: 129.2 kB / 0.9845 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.00586, allocations: 86.52 kB / 0.9846 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.005974, allocations: 40.83 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.006009, allocations: 4 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.006038, allocations: 38.5 kB / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.00604, allocations: 0 / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004952/0.006535, allocations: 141.9 kB / 0.9848 GB, free: 15.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.006585, allocations: 59.34 kB / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.00663, allocations: 93.8 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.006649, allocations: 29.7 kB / 0.985 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.006675, allocations: 80.14 kB / 0.9851 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.006734, allocations: 35.69 kB / 0.9851 GB, free: 14.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.006794, allocations: 29.69 kB / 0.9851 GB, free: 14.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006905, allocations: 318.8 kB / 0.9854 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.00702, allocations: 31.97 kB / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.007122, allocations: 32.41 kB / 0.9855 GB, free: 14.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.007346, allocations: 84.92 kB / 0.9856 GB, free: 14.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007349, allocations: 0 / 0.9856 GB, free: 14.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002784/0.007627, allocations: 113.5 kB / 0.9857 GB, free: 14.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.00765, allocations: 10.81 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.007659, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.007678, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.007839, allocations: 23.98 kB / 0.9857 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.007849, allocations: 7.938 kB / 0.9857 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.007904, allocations: 11.92 kB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.007918, allocations: 0 / 0.9858 GB, free: 14.12 MB / 0.948 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 9.324e-05/0.008012, allocations: 129.8 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.008031, allocations: 3.953 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.008077, allocations: 11.97 kB / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.008082, allocations: 4 kB / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.008087, allocations: 0 / 0.9859 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.008093, allocations: 3.938 kB / 0.9859 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.008216, allocations: 113.3 kB / 0.986 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008218, allocations: 0 / 0.986 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.008329, allocations: 31.91 kB / 0.986 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.008338, allocations: 11.98 kB / 0.986 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.00835, allocations: 0 / 0.986 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008353, allocations: 0 / 0.986 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.008354, allocations: 0 / 0.986 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.008683, allocations: 152.8 kB / 0.9862 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.008693, allocations: 3.938 kB / 0.9862 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.008715, allocations: 8 kB / 0.9862 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.008759, allocations: 0 / 0.9862 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.008824, allocations: 15.97 kB / 0.9862 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.008835, allocations: 8 kB / 0.9862 GB, free: 13.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.008864, allocations: 79.22 kB / 0.9863 GB, free: 13.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.008864, allocations: 4 kB / 0.9863 GB, free: 13.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002846/0.009148, allocations: 27.98 kB / 0.9863 GB, free: 13.47 MB / 0.948 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.0002469/0.009395, allocations: 115.2 kB / 0.9864 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.009698, allocations: 87.81 kB / 0.9865 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.009701, allocations: 0 / 0.9865 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.009818, allocations: 47.91 kB / 0.9866 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.009985, allocations: 4 kB / 0.9866 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.01045, allocations: 189.5 kB / 0.9868 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.01052, allocations: 71.2 kB / 0.9868 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.01057, allocations: 16.48 kB / 0.9868 GB, free: 12.89 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/0.01057, allocations: 0 / 0.9868 GB, free: 12.89 MB / 0.948 GB Notification: Performance of Templates: time 0.00362/0.01419, allocations: 1.342 MB / 0.9882 GB, free: 11.54 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.872957980260253]