Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002637/0.002637, allocations: 205 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00339/0.00339, allocations: 67.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8486, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00192/0.8505, allocations: 0.5898 MB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.8509, allocations: 111.6 kB / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.851, allocations: 0 / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.851, allocations: 4 kB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.851, allocations: 4 kB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.8514, allocations: 39.84 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.8515, allocations: 63.92 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.8515, allocations: 3.984 kB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.8516, allocations: 27.98 kB / 1.275 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.8516, allocations: 23.95 kB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.8516, allocations: 4 kB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.8518, allocations: 39.97 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.8518, allocations: 19.97 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.8519, allocations: 35.78 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.852, allocations: 70.5 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.852, allocations: 4 kB / 1.275 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/0.852, allocations: 0 / 1.275 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.852, allocations: 0 / 1.275 GB, free: 3.504 MB / 0.9669 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.0005867/0.8526, allocations: 375.3 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8527, allocations: 8.031 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.8527, allocations: 8.938 kB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8528, allocations: 168.4 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.8531, allocations: 277.6 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.8531, allocations: 8.375 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8534, allocations: 78.19 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8534, allocations: 3.938 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.8534, allocations: 4 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8534, allocations: 7.938 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.8538, allocations: 131.8 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.854, allocations: 181.5 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.8543, allocations: 94.45 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.8545, allocations: 40.83 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.8545, allocations: 7.984 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8545, allocations: 34.56 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.8545, allocations: 3.938 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005655/0.8551, allocations: 149.8 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8551, allocations: 55.41 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.8552, allocations: 93.86 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8552, allocations: 29.7 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.8553, allocations: 80.14 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.8553, allocations: 35.69 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.8554, allocations: 25.7 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8555, allocations: 318.8 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.8557, allocations: 27.97 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.8558, allocations: 35.97 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.8561, allocations: 84.75 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8561, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003309/0.8564, allocations: 109.5 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8564, allocations: 11.94 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.8564, allocations: 4 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.8564, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.8566, allocations: 27.97 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8566, allocations: 4 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.8567, allocations: 0 / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8567, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9669 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 0.0001064/0.8568, allocations: 125.8 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.8568, allocations: 11.89 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.8569, allocations: 11.97 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8569, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.8569, allocations: 3.984 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8569, allocations: 4 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.857, allocations: 173.6 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.857, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.8572, allocations: 31.97 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8572, allocations: 3.938 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.8572, allocations: 3.938 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8572, allocations: 3.984 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8572, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.8576, allocations: 145.7 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.8576, allocations: 81.05 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.8576, allocations: 3.938 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.8577, allocations: 15.98 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.8578, allocations: 7.984 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.8578, allocations: 7.984 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.8578, allocations: 75.28 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8578, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000226/0.8581, allocations: 27.94 kB / 1.278 GB, free: 15.92 MB / 0.9825 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.0002345/0.8583, allocations: 126.6 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.8587, allocations: 91.92 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8587, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.8588, allocations: 47.91 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.859, allocations: 1.562 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.8594, allocations: 176.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.8597, allocations: 0.6846 MB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.8599, allocations: 39.95 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.86, allocations: 23.36 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.86, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.003906/0.8639, allocations: 1.052 MB / 1.28 GB, free: 13.62 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.1447738208808]