Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001155/0.001155, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.002931, allocations: 440 kB / 10.41 MB, free: 284 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.001156/0.001156, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002772, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9528/0.9528, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.406/2.406, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2598/2.665, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.144e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002341/0.002363, allocations: 1.637 MB / 0.8205 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.002656, allocations: 187.3 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.002681, allocations: 8 kB / 0.8207 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.002703, allocations: 3.938 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.369e-05/0.002726, allocations: 11.91 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.002915, allocations: 43.83 kB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.002978, allocations: 27.92 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.226e-05/0.003051, allocations: 15.92 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.003105, allocations: 23.98 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.003146, allocations: 15.97 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.00316, allocations: 4 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.00329, allocations: 59.86 kB / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.003304, allocations: 8 kB / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00302/0.006324, allocations: 11.94 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.006471, allocations: 51.83 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.006483, allocations: 0 / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.32e-07/0.006484, allocations: 0 / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.006499, allocations: 0 / 0.821 GB, free: 368 kB / 0.7917 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.0004054/0.006904, allocations: 272.4 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.006937, allocations: 8.031 kB / 0.8213 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.00697, allocations: 8.938 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.007073, allocations: 109.8 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.007095, allocations: 4.359 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.007108, allocations: 12.31 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.007231, allocations: 66.92 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007239, allocations: 192 / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007248, allocations: 4.359 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007254, allocations: 384 / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.007287, allocations: 11.94 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.007548, allocations: 172.1 kB / 0.8216 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.007708, allocations: 34.56 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.007725, allocations: 8.859 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.007868, allocations: 27.97 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.007895, allocations: 42.56 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007896, allocations: 0 / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.008028, allocations: 53.55 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.008053, allocations: 51.41 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.008108, allocations: 102.8 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.008122, allocations: 29.7 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.008157, allocations: 84.12 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.008173, allocations: 7.953 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.008204, allocations: 21.7 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.008291, allocations: 318.8 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.008302, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-06/0.008312, allocations: 4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.008342, allocations: 16.84 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008344, allocations: 3.938 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.91e-05/0.008403, allocations: 45.62 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.008415, allocations: 4 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.00842, allocations: 3.938 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.008431, allocations: 0 / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.008485, allocations: 15.98 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.008488, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.008512, allocations: 7.953 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.008517, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 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 5.842e-05/0.008575, allocations: 109.8 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.008596, allocations: 4 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.008675, allocations: 57.23 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008677, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008678, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008681, allocations: 384 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.008788, allocations: 77.88 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008789, allocations: 0 / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.008824, allocations: 11.98 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.008829, allocations: 0 / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008831, allocations: 3.984 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-06/0.008835, allocations: 4 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008838, allocations: 3.938 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008838, allocations: 256 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.00892, allocations: 131.5 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.008931, allocations: 4 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.008983, allocations: 11.98 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.009018, allocations: 7.938 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.009022, allocations: 7.922 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.44e-05/0.009037, allocations: 12.84 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009037, allocations: 0 / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003219/0.01226, allocations: 23.94 kB / 0.8229 GB, free: 14.16 MB / 0.8073 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.0001459/0.0124, allocations: 96.34 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.01248, allocations: 16.84 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01248, allocations: 0 / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.01251, allocations: 20.84 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01269, allocations: 43.2 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.01306, allocations: 128.5 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.0131, allocations: 59.22 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.01312, allocations: 4 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.01317, allocations: 55.36 kB / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.01317, allocations: 0 / 0.8233 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.005887/0.01906, allocations: 1.098 MB / 0.8244 GB, free: 12.57 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.272487565875053]