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.0009497/0.0009497, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009583/0.0009583, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9815/0.9815, allocations: 177.1 MB / 204.5 MB, free: 5.461 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.761/1.761, allocations: 359 MB / 0.6055 GB, free: 10.86 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.923e-06/1.923e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.986e-05, allocations: 4.422 kB / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001286/0.001316, allocations: 0.6141 MB / 0.7882 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.001624, allocations: 91.67 kB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.00165, allocations: 0 / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.001689, allocations: 0 / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-06/0.001696, allocations: 5.25 kB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.002056, allocations: 43.81 kB / 0.7883 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.002165, allocations: 63.92 kB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.002205, allocations: 5.297 kB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.002256, allocations: 31.97 kB / 0.7884 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.002291, allocations: 19.97 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.002307, allocations: 1.25 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.00243, allocations: 55.92 kB / 0.7885 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.002462, allocations: 23.91 kB / 0.7885 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.002482, allocations: 19.97 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.002611, allocations: 85.44 kB / 0.7886 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.002614, allocations: 4 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002615, allocations: 0 / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.002618, allocations: 0 / 0.7886 GB, free: 11.05 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.0003488/0.002967, allocations: 401 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.003003, allocations: 8.031 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.003047, allocations: 25.23 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.00325, allocations: 109.7 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.003477, allocations: 0.5299 MB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.003488, allocations: 9.953 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.003634, allocations: 82.84 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003641, allocations: 192 / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.003648, allocations: 384 / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.003655, allocations: 5.656 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.003747, allocations: 91.83 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.003861, allocations: 117.2 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.003937, allocations: 71.05 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.003967, allocations: 30.39 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.003989, allocations: 4 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004008, allocations: 37.33 kB / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.004009, allocations: 0 / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001609/0.00417, allocations: 97.61 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.004192, allocations: 51.41 kB / 0.7902 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.623e-05/0.004228, allocations: 143 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004237, allocations: 25.7 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.004262, allocations: 132.8 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.004301, allocations: 43.67 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.004334, allocations: 35.3 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.004441, allocations: 0.4883 MB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.004463, allocations: 17.73 kB / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.004482, allocations: 11.98 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/0.004536, allocations: 44.27 kB / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004538, allocations: 0 / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.303e-05/0.004631, allocations: 78.67 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.004645, allocations: 4 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00465, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.004665, allocations: 9.797 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.00477, allocations: 23.98 kB / 0.7913 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004773, allocations: 3.938 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.004801, allocations: 11.89 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.004813, allocations: 7.984 kB / 0.7913 GB, free: 8.031 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 6.914e-05/0.004882, allocations: 158.5 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.004892, allocations: 4 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.004918, allocations: 11.97 kB / 0.7915 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.00492, allocations: 4 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.004922, allocations: 0.6562 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.004925, allocations: 0.5312 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.097e-05/0.005006, allocations: 121.1 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005007, allocations: 0.7188 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.005062, allocations: 31.97 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005065, allocations: 0.5312 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.00507, allocations: 1.406 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005071, allocations: 0 / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005072, allocations: 11.94 kB / 0.7916 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.005194, allocations: 121.4 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.005201, allocations: 7.953 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.00521, allocations: 1.375 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.005235, allocations: 8 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.005279, allocations: 11.97 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.005285, allocations: 5.141 kB / 0.7918 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.005316, allocations: 123.2 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005316, allocations: 0 / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001436/0.005459, allocations: 20 kB / 0.7919 GB, free: 7.352 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.0001344/0.005594, allocations: 128.4 kB / 0.792 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.005696, allocations: 56.44 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005697, allocations: 0 / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.005734, allocations: 44.5 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.203e-05/0.005826, allocations: 15.92 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.00602, allocations: 139.6 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.00605, allocations: 63.34 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.00609, allocations: 15.97 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.006546, allocations: 78.19 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.006547, allocations: 3.438 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.002515/0.009062, allocations: 1.26 MB / 0.7937 GB, free: 5.531 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.778356029186398]