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.0007874/0.0007874, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001921, allocations: 435.8 kB / 10.33 MB, free: 368 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.001139/0.001139, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002572, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.058/1.058, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1242/1.182, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.428/2.428, allocations: 446.7 MB / 0.6745 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2433/2.671, allocations: 145.9 MB / 0.817 GB, free: 4.16 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8184 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.046e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001077/0.001098, allocations: 0.6522 MB / 0.819 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.00127, allocations: 103.6 kB / 0.8191 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.001284, allocations: 0 / 0.8191 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.001302, allocations: 3.938 kB / 0.8191 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-07/0.001303, allocations: 0 / 0.8191 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.001499, allocations: 39.81 kB / 0.8191 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.001611, allocations: 71.94 kB / 0.8192 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.001648, allocations: 0 / 0.8192 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.001705, allocations: 35.95 kB / 0.8192 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.001746, allocations: 19.95 kB / 0.8193 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.001761, allocations: 4 kB / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.001905, allocations: 59.88 kB / 0.8193 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.001939, allocations: 19.92 kB / 0.8193 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.001957, allocations: 8 kB / 0.8193 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.002078, allocations: 67.84 kB / 0.8194 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.002094, allocations: 0 / 0.8194 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002095, allocations: 0 / 0.8194 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.002112, allocations: 4 kB / 0.8194 GB, free: 1.691 MB / 0.7917 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.0003814/0.002494, allocations: 284.5 kB / 0.8197 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.002524, allocations: 8.625 kB / 0.8197 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.002559, allocations: 24.92 kB / 0.8197 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.492e-05/0.002614, allocations: 109.7 kB / 0.8198 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.002834, allocations: 0.526 MB / 0.8203 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.002844, allocations: 4.375 kB / 0.8203 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.002987, allocations: 82.89 kB / 0.8204 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002994, allocations: 192 / 0.8204 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003002, allocations: 8.312 kB / 0.8204 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.003009, allocations: 12.12 kB / 0.8204 GB, free: 472 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.003095, allocations: 79.78 kB / 0.8205 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.256e-05/0.003188, allocations: 79.8 kB / 0.8206 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.003255, allocations: 46.56 kB / 0.8206 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.003281, allocations: 24.84 kB / 0.8207 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.003303, allocations: 0 / 0.8207 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.003324, allocations: 34.56 kB / 0.8207 GB, free: 168 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.003324, allocations: 0 / 0.8207 GB, free: 168 kB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0001352/0.00346, allocations: 81.88 kB / 0.8208 GB, free: 80 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.003488, allocations: 63.39 kB / 0.8208 GB, free: 4 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.003529, allocations: 89.86 kB / 0.8209 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.003538, allocations: 25.7 kB / 0.8209 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.003555, allocations: 84.12 kB / 0.821 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.003594, allocations: 35.66 kB / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.003627, allocations: 29.69 kB / 0.8211 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.003694, allocations: 322.8 kB / 0.8214 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.003712, allocations: 8 kB / 0.8214 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.003729, allocations: 11.98 kB / 0.8214 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.003782, allocations: 40.3 kB / 0.8214 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.003785, allocations: 8 kB / 0.8215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.966e-05/0.003865, allocations: 73.47 kB / 0.8215 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.003878, allocations: 8 kB / 0.8215 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.003882, allocations: 0 / 0.8215 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.003891, allocations: 0 / 0.8215 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.004002, allocations: 31.97 kB / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.004004, allocations: 0 / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.00403, allocations: 4 kB / 0.8216 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.00404, allocations: 7.922 kB / 0.8216 GB, free: 15.2 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: 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.524e-05/0.004096, allocations: 124.6 kB / 0.8217 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.004104, allocations: 4 kB / 0.8217 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.004127, allocations: 15.95 kB / 0.8217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004128, allocations: 0 / 0.8217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.004132, allocations: 7.984 kB / 0.8217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004135, allocations: 0 / 0.8217 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.252e-05/0.004198, allocations: 81.77 kB / 0.8218 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.004199, allocations: 0 / 0.8218 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.004263, allocations: 35.95 kB / 0.8218 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-06/0.004267, allocations: 3.953 kB / 0.8218 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004269, allocations: 0 / 0.8218 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.004275, allocations: 8 kB / 0.8218 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004275, allocations: 0 / 0.8218 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004276, allocations: 0 / 0.8218 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.761e-05/0.004364, allocations: 104.9 kB / 0.8219 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.004372, allocations: 0 / 0.8219 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.004396, allocations: 4 kB / 0.8219 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.004431, allocations: 15.97 kB / 0.822 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.004437, allocations: 3.984 kB / 0.822 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.342e-06/0.004443, allocations: 4.859 kB / 0.822 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004443, allocations: 0 / 0.822 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001263/0.004569, allocations: 27.94 kB / 0.822 GB, free: 14.71 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: 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.0001247/0.004694, allocations: 96.39 kB / 0.8221 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.00479, allocations: 56.7 kB / 0.8221 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.004794, allocations: 4 kB / 0.8221 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.004823, allocations: 32.78 kB / 0.8222 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.004962, allocations: 21.98 kB / 0.8222 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.005167, allocations: 139.3 kB / 0.8223 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.005196, allocations: 67.34 kB / 0.8224 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.005238, allocations: 15.98 kB / 0.8224 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.005283, allocations: 63.36 kB / 0.8225 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.005283, allocations: 0 / 0.8225 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.002709/0.007992, allocations: 1.224 MB / 0.8237 GB, free: 12.95 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial/Buildings_latest_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: 5.313530889339745]