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.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.001498/0.001498, allocations: 77.97 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001643/0.001643, allocations: 155.5 kB / 24.86 MB, free: 8.887 MB / 18.57 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.9242/0.9242, allocations: 177.2 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.846e-05, allocations: 3.406 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001233/0.001252, allocations: 0.6128 MB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.001516, allocations: 92.28 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.001533, allocations: 0.6562 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.001566, allocations: 0 / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.001572, allocations: 1 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.001862, allocations: 43.81 kB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.001958, allocations: 63.92 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.00199, allocations: 9.484 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.00203, allocations: 27.97 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.00206, allocations: 23.95 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.002075, allocations: 4 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.002172, allocations: 52.91 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.0022, allocations: 23.91 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.002218, allocations: 12.72 kB / 0.7893 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.002331, allocations: 87.75 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002333, allocations: 6.5 kB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002333, allocations: 0 / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002336, allocations: 0 / 0.7894 GB, free: 11.11 MB / 0.7448 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.0003023/0.002639, allocations: 404.2 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.002667, allocations: 12.03 kB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.002702, allocations: 17.23 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.559e-05/0.002748, allocations: 108.6 kB / 0.7899 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.002944, allocations: 0.5276 MB / 0.7904 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.002957, allocations: 16.3 kB / 0.7904 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003083, allocations: 78.91 kB / 0.7905 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.003088, allocations: 192 / 0.7905 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.003095, allocations: 0.9062 kB / 0.7905 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003099, allocations: 8.844 kB / 0.7905 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.003189, allocations: 91.83 kB / 0.7906 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.003292, allocations: 113.7 kB / 0.7907 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.003369, allocations: 72.58 kB / 0.7908 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.003405, allocations: 23.67 kB / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.003423, allocations: 8 kB / 0.7908 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.003439, allocations: 33.39 kB / 0.7909 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 7.21e-07/0.00344, allocations: 0.5625 kB / 0.7909 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000157/0.003597, allocations: 102.5 kB / 0.791 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.003622, allocations: 56.12 kB / 0.791 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.469e-05/0.003657, allocations: 142.2 kB / 0.7911 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.003667, allocations: 30.86 kB / 0.7912 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.003692, allocations: 126.9 kB / 0.7913 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.003727, allocations: 39.67 kB / 0.7913 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.003759, allocations: 31.36 kB / 0.7914 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003859, allocations: 0.5052 MB / 0.7919 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.003883, allocations: 11.98 kB / 0.7919 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.003901, allocations: 8 kB / 0.7919 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.003951, allocations: 37.55 kB / 0.7919 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003953, allocations: 0 / 0.7919 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.164e-05/0.004045, allocations: 81.59 kB / 0.792 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004056, allocations: 8 kB / 0.792 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004059, allocations: 1.438 kB / 0.792 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.004065, allocations: 0 / 0.792 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.004147, allocations: 23.92 kB / 0.792 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004149, allocations: 0 / 0.792 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.004181, allocations: 20.97 kB / 0.792 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.004189, allocations: 4 kB / 0.792 GB, free: 8.094 MB / 0.7448 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.745e-05/0.004246, allocations: 158.5 kB / 0.7922 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.004257, allocations: 8 kB / 0.7922 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.004274, allocations: 7.969 kB / 0.7922 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.004276, allocations: 3.984 kB / 0.7922 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.004279, allocations: 4 kB / 0.7922 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004281, allocations: 2.375 kB / 0.7922 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.428e-05/0.004355, allocations: 121.1 kB / 0.7923 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004356, allocations: 4 kB / 0.7923 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.004409, allocations: 27.91 kB / 0.7924 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00441, allocations: 0 / 0.7924 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.004417, allocations: 8 kB / 0.7924 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004418, allocations: 0.5312 kB / 0.7924 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004418, allocations: 0 / 0.7924 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.004533, allocations: 122.8 kB / 0.7925 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.004541, allocations: 7.953 kB / 0.7925 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.004551, allocations: 3.984 kB / 0.7925 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.004576, allocations: 8 kB / 0.7925 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.004609, allocations: 7.984 kB / 0.7925 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.004615, allocations: 10.55 kB / 0.7925 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.004641, allocations: 119.2 kB / 0.7926 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004641, allocations: 0 / 0.7926 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001427/0.004783, allocations: 20 kB / 0.7927 GB, free: 7.414 MB / 0.7448 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.0001135/0.004897, allocations: 127.1 kB / 0.7928 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.004991, allocations: 61.36 kB / 0.7928 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.004992, allocations: 0 / 0.7928 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.005029, allocations: 40.55 kB / 0.7929 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.73e-05/0.005126, allocations: 21.05 kB / 0.7929 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.005306, allocations: 134.3 kB / 0.793 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.875e-05/0.005335, allocations: 64.19 kB / 0.7931 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.005376, allocations: 16 kB / 0.7931 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.005425, allocations: 82.19 kB / 0.7932 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.005425, allocations: 0 / 0.7932 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.002507/0.007932, allocations: 1.26 MB / 0.7944 GB, free: 5.582 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] 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","",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.8212459441274405]