Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001993/0.001993, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002332/0.002332, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.501/1.501, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.872/2.872, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 1 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.355e-05, allocations: 6.219 kB / 1 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001759/0.001793, allocations: 0.6039 MB / 1.001 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.002219, allocations: 95.61 kB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.002244, allocations: 4 kB / 1.001 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.002286, allocations: 0 / 1.001 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.002293, allocations: 0 / 1.001 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.002713, allocations: 39.83 kB / 1.001 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.002857, allocations: 71.84 kB / 1.001 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.002899, allocations: 8 kB / 1.001 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.002963, allocations: 35.95 kB / 1.001 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.003009, allocations: 19.97 kB / 1.001 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003032, allocations: 4 kB / 1.001 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.003184, allocations: 47.94 kB / 1.001 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.003229, allocations: 19.97 kB / 1.001 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.003274, allocations: 15.97 kB / 1.001 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.003479, allocations: 95.67 kB / 1.001 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003481, allocations: 0 / 1.001 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003482, allocations: 0 / 1.001 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.003487, allocations: 0 / 1.001 GB, free: 5.066 MB / 0.9044 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.0005537/0.004041, allocations: 298.3 kB / 1.001 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.004083, allocations: 16.03 kB / 1.001 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.004138, allocations: 8.891 kB / 1.002 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.004233, allocations: 105.7 kB / 1.002 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.004692, allocations: 0.5299 MB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.004723, allocations: 8.375 kB / 1.002 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.00499, allocations: 78.14 kB / 1.002 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.004999, allocations: 192 / 1.002 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.005014, allocations: 4.375 kB / 1.002 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.005021, allocations: 4.125 kB / 1.002 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.005409, allocations: 131.7 kB / 1.002 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.005582, allocations: 125.2 kB / 1.002 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.00592, allocations: 86.53 kB / 1.003 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.006079, allocations: 44.81 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.00611, allocations: 4 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.00614, allocations: 30.56 kB / 1.003 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.006142, allocations: 0 / 1.003 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006118/0.006753, allocations: 162 kB / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.006803, allocations: 51.41 kB / 1.003 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.006853, allocations: 93.8 kB / 1.003 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.006875, allocations: 29.7 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.006912, allocations: 80.14 kB / 1.003 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.00697, allocations: 43.69 kB / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.007026, allocations: 25.7 kB / 1.003 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.007167, allocations: 318.8 kB / 1.003 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.007336, allocations: 31.98 kB / 1.003 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.007482, allocations: 31.97 kB / 1.003 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.007785, allocations: 80.69 kB / 1.004 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007787, allocations: 0 / 1.004 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003717/0.008159, allocations: 109.6 kB / 1.004 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.008175, allocations: 8 kB / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00818, allocations: 0 / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.008197, allocations: 0 / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.00836, allocations: 27.97 kB / 1.004 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.008367, allocations: 3.938 kB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.00844, allocations: 15.89 kB / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.008457, allocations: 7.984 kB / 1.004 GB, free: 2.215 MB / 0.9044 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.563e-05/0.008553, allocations: 119 kB / 1.004 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.008569, allocations: 0 / 1.004 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.008607, allocations: 15.91 kB / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008609, allocations: 4 kB / 1.004 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.008614, allocations: 0 / 1.004 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.008621, allocations: 7.922 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.00875, allocations: 125.2 kB / 1.004 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008752, allocations: 0 / 1.004 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.008881, allocations: 23.98 kB / 1.004 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008884, allocations: 0 / 1.004 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.0089, allocations: 7.984 kB / 1.004 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.008904, allocations: 4 kB / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008905, allocations: 0 / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.009306, allocations: 144.9 kB / 1.004 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.009315, allocations: 7.938 kB / 1.004 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.009335, allocations: 3.984 kB / 1.004 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.0094, allocations: 11.94 kB / 1.004 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.00946, allocations: 7.984 kB / 1.004 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.009473, allocations: 7.984 kB / 1.004 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.009507, allocations: 79.22 kB / 1.004 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.009507, allocations: 0 / 1.004 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002421/0.00975, allocations: 20 kB / 1.004 GB, free: 1.578 MB / 0.9044 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.0002247/0.009974, allocations: 119.2 kB / 1.004 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.01036, allocations: 83.88 kB / 1.004 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01036, allocations: 0 / 1.004 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.01054, allocations: 48.67 kB / 1.004 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.01069, allocations: 7.922 kB / 1.004 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.01117, allocations: 153 kB / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.01124, allocations: 71.25 kB / 1.005 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.01141, allocations: 39.95 kB / 1.005 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.01147, allocations: 20.48 kB / 1.005 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of SimCode: time 3.8e-07/0.01147, allocations: 4 kB / 1.005 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of Templates: time 0.004017/0.01548, allocations: 1.018 MB / 1.006 GB, free: 15.98 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.9959140457212925]