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.0008141/0.0008141, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001843, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007438/0.0007438, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009389/0.001683, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.941/0.941, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08354/1.025, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4488/2.266, allocations: 123.3 MB / 0.7281 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.424e-05, allocations: 3.719 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001305/0.001329, allocations: 0.6578 MB / 0.73 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.001505, allocations: 108.8 kB / 0.7301 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.001519, allocations: 0 / 0.7301 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.001534, allocations: 0 / 0.7301 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.152e-06/0.001536, allocations: 0 / 0.7301 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.001723, allocations: 36.59 kB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.001836, allocations: 68.92 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.001871, allocations: 1.562 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.001926, allocations: 32.61 kB / 0.7303 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.001962, allocations: 24.62 kB / 0.7303 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.001976, allocations: 0 / 0.7303 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.002119, allocations: 61.27 kB / 0.7304 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.002148, allocations: 14.41 kB / 0.7304 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.002168, allocations: 12.97 kB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.002293, allocations: 70.25 kB / 0.7304 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.002307, allocations: 0.6875 kB / 0.7304 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002307, allocations: 0 / 0.7304 GB, free: 3.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.002318, allocations: 1.719 kB / 0.7304 GB, free: 3.418 MB / 0.698 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.000352/0.00267, allocations: 289.4 kB / 0.7307 GB, free: 3.109 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.002697, allocations: 8.031 kB / 0.7307 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.00273, allocations: 20.92 kB / 0.7307 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.012e-05/0.00278, allocations: 103.7 kB / 0.7308 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.003012, allocations: 0.5337 MB / 0.7314 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.003022, allocations: 4.375 kB / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.003155, allocations: 80.73 kB / 0.7315 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.003161, allocations: 192 / 0.7315 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.00317, allocations: 5.125 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.003175, allocations: 8.766 kB / 0.7315 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.003261, allocations: 84.31 kB / 0.7315 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.584e-05/0.003357, allocations: 80.64 kB / 0.7316 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.00343, allocations: 67.94 kB / 0.7317 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.003455, allocations: 20.86 kB / 0.7317 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.003477, allocations: 5.094 kB / 0.7317 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.003497, allocations: 35.44 kB / 0.7317 GB, free: 1.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.003498, allocations: 0 / 0.7317 GB, free: 1.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0001311/0.003629, allocations: 80.84 kB / 0.7318 GB, free: 1.801 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.003656, allocations: 51.41 kB / 0.7319 GB, free: 1.738 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.154e-05/0.003688, allocations: 89.86 kB / 0.732 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.003699, allocations: 34.3 kB / 0.732 GB, free: 1.602 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.003717, allocations: 80.91 kB / 0.7321 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.003757, allocations: 41.55 kB / 0.7321 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.003785, allocations: 21.7 kB / 0.7321 GB, free: 1.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.003866, allocations: 326.8 kB / 0.7324 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.003886, allocations: 12.75 kB / 0.7325 GB, free: 1.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.003904, allocations: 11.98 kB / 0.7325 GB, free: 1.102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.003963, allocations: 38.11 kB / 0.7325 GB, free: 1.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.003966, allocations: 0 / 0.7325 GB, free: 1.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.182e-05/0.004038, allocations: 64.95 kB / 0.7326 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.004049, allocations: 4 kB / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.004054, allocations: 0.875 kB / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.004064, allocations: 0 / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.004169, allocations: 36.64 kB / 0.7326 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004172, allocations: 0 / 0.7326 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.004199, allocations: 8.688 kB / 0.7326 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.004209, allocations: 7.938 kB / 0.7326 GB, free: 0.9414 MB / 0.698 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 5.544e-05/0.004264, allocations: 114.5 kB / 0.7327 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.004275, allocations: 8.766 kB / 0.7327 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.004296, allocations: 7.969 kB / 0.7327 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004299, allocations: 4.875 kB / 0.7327 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.004301, allocations: 0 / 0.7327 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004304, allocations: 0 / 0.7327 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.038e-05/0.004374, allocations: 98.3 kB / 0.7328 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.004375, allocations: 1.75 kB / 0.7328 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.00444, allocations: 31.91 kB / 0.7329 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.004444, allocations: 0 / 0.7329 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.004447, allocations: 4.625 kB / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.004453, allocations: 3.984 kB / 0.7329 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004454, allocations: 0.7188 kB / 0.7329 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004455, allocations: 0.6562 kB / 0.7329 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.383e-05/0.004549, allocations: 108 kB / 0.733 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.004558, allocations: 1.031 kB / 0.733 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.004582, allocations: 8 kB / 0.733 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.004618, allocations: 11.97 kB / 0.733 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.004622, allocations: 1.031 kB / 0.733 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.633e-06/0.004629, allocations: 8.797 kB / 0.733 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004629, allocations: 0.5312 kB / 0.733 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001269/0.004756, allocations: 24 kB / 0.733 GB, free: 480 kB / 0.698 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.0001362/0.004892, allocations: 110 kB / 0.7331 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.004981, allocations: 44.83 kB / 0.7332 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.004985, allocations: 1.219 kB / 0.7332 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.005018, allocations: 36.77 kB / 0.7332 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.329e-05/0.005081, allocations: 19.92 kB / 0.7332 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.005285, allocations: 136.3 kB / 0.7334 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.005313, allocations: 59.97 kB / 0.7334 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.259e-05/0.005356, allocations: 15.97 kB / 0.7334 GB, free: 0 / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.005416, allocations: 63.36 kB / 0.7335 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.005417, allocations: 5.094 kB / 0.7335 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.00258/0.007997, allocations: 1.229 MB / 0.7347 GB, free: 14.78 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.707590414211154]