Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001019/0.001019, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001005/0.001005, allocations: 170 kB / 24.86 MB, free: 8.895 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.9493/0.9493, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.806/1.806, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.092e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003446/0.003477, allocations: 1.596 MB / 0.7899 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.003988, allocations: 176.1 kB / 0.79 GB, free: 10.48 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.004038, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.004072, allocations: 11.3 kB / 0.79 GB, free: 10.47 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.004131, allocations: 11.86 kB / 0.7901 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.004532, allocations: 51.81 kB / 0.7901 GB, free: 10.41 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.004617, allocations: 31.92 kB / 0.7901 GB, free: 10.38 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004722, allocations: 19.98 kB / 0.7902 GB, free: 10.36 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.004776, allocations: 19.92 kB / 0.7902 GB, free: 10.34 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.004825, allocations: 15.97 kB / 0.7902 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004844, allocations: 4 kB / 0.7902 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.004989, allocations: 51.94 kB / 0.7902 GB, free: 10.27 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.005009, allocations: 12.77 kB / 0.7903 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.005028, allocations: 4 kB / 0.7903 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005196, allocations: 80.3 kB / 0.7903 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005198, allocations: 0 / 0.7903 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005199, allocations: 1.469 kB / 0.7903 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005203, allocations: 0 / 0.7903 GB, free: 10.17 MB / 0.7449 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.0004385/0.005642, allocations: 368.5 kB / 0.7907 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.005689, allocations: 17.55 kB / 0.7907 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.005734, allocations: 0.9375 kB / 0.7907 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.005845, allocations: 116.6 kB / 0.7908 GB, free: 9.617 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.005868, allocations: 8.375 kB / 0.7908 GB, free: 9.609 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.005878, allocations: 1.969 kB / 0.7908 GB, free: 9.609 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.006027, allocations: 58.94 kB / 0.7909 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006036, allocations: 192 / 0.7909 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006046, allocations: 4.375 kB / 0.7909 GB, free: 9.539 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.006054, allocations: 5 kB / 0.7909 GB, free: 9.535 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.006094, allocations: 15.86 kB / 0.7909 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.00643, allocations: 246.4 kB / 0.7911 GB, free: 9.254 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.006638, allocations: 43.03 kB / 0.7912 GB, free: 9.199 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.006667, allocations: 19.67 kB / 0.7912 GB, free: 9.176 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.006792, allocations: 16.52 kB / 0.7912 GB, free: 9.16 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.006818, allocations: 38.11 kB / 0.7913 GB, free: 9.113 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.00682, allocations: 0 / 0.7913 GB, free: 9.113 MB / 0.7449 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/0.00699, allocations: 58.89 kB / 0.7913 GB, free: 9.051 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.007023, allocations: 51.41 kB / 0.7914 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.007116, allocations: 166 kB / 0.7915 GB, free: 8.809 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007129, allocations: 25.7 kB / 0.7915 GB, free: 8.777 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.007193, allocations: 135.4 kB / 0.7917 GB, free: 8.641 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.007216, allocations: 9.016 kB / 0.7917 GB, free: 8.633 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.007265, allocations: 35.28 kB / 0.7917 GB, free: 8.59 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.007431, allocations: 492.1 kB / 0.7922 GB, free: 8.098 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.007448, allocations: 4.75 kB / 0.7922 GB, free: 8.094 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.007461, allocations: 0 / 0.7922 GB, free: 8.094 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/0.007503, allocations: 20.39 kB / 0.7922 GB, free: 8.07 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007505, allocations: 0 / 0.7922 GB, free: 8.07 MB / 0.7449 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.386e-05/0.007598, allocations: 46.97 kB / 0.7922 GB, free: 8.02 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.007614, allocations: 7.938 kB / 0.7923 GB, free: 8.012 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.007622, allocations: 4 kB / 0.7923 GB, free: 8.008 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.007633, allocations: 0.5312 kB / 0.7923 GB, free: 8.008 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.007687, allocations: 9.344 kB / 0.7923 GB, free: 8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.007692, allocations: 3.984 kB / 0.7923 GB, free: 7.996 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.007722, allocations: 4 kB / 0.7923 GB, free: 7.992 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007727, allocations: 0 / 0.7923 GB, free: 7.992 MB / 0.7449 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 9.429e-05/0.007822, allocations: 158.1 kB / 0.7924 GB, free: 7.828 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007846, allocations: 0 / 0.7924 GB, free: 7.828 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.007962, allocations: 61.55 kB / 0.7925 GB, free: 7.758 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007964, allocations: 0.9062 kB / 0.7925 GB, free: 7.758 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007967, allocations: 4 kB / 0.7925 GB, free: 7.754 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007971, allocations: 0.8438 kB / 0.7925 GB, free: 7.754 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.008109, allocations: 109.2 kB / 0.7926 GB, free: 7.621 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.008111, allocations: 2.219 kB / 0.7926 GB, free: 7.621 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.008152, allocations: 4 kB / 0.7926 GB, free: 7.617 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008155, allocations: 0 / 0.7926 GB, free: 7.617 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008162, allocations: 7.938 kB / 0.7926 GB, free: 7.609 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008164, allocations: 3.938 kB / 0.7926 GB, free: 7.605 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.008167, allocations: 7.922 kB / 0.7926 GB, free: 7.598 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.00831, allocations: 191 kB / 0.7928 GB, free: 7.395 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.008319, allocations: 4 kB / 0.7928 GB, free: 7.391 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.008333, allocations: 48 / 0.7928 GB, free: 7.391 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.008393, allocations: 3.984 kB / 0.7928 GB, free: 7.387 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.008442, allocations: 15.92 kB / 0.7928 GB, free: 7.371 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.008446, allocations: 0 / 0.7928 GB, free: 7.371 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.0085, allocations: 131.2 kB / 0.793 GB, free: 7.242 MB / 0.7449 GB Notification: Performance of sort global known variables: time 9e-08/0.0085, allocations: 1.562 kB / 0.793 GB, free: 7.242 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002736/0.008773, allocations: 19.94 kB / 0.793 GB, free: 7.223 MB / 0.7449 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.0001655/0.008939, allocations: 115.2 kB / 0.7931 GB, free: 7.102 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.009028, allocations: 20.12 kB / 0.7931 GB, free: 7.078 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.00903, allocations: 0.5312 kB / 0.7931 GB, free: 7.078 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.009065, allocations: 21.08 kB / 0.7931 GB, free: 7.055 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.009318, allocations: 4 kB / 0.7931 GB, free: 7.051 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.009614, allocations: 134.7 kB / 0.7933 GB, free: 6.891 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.009655, allocations: 55.36 kB / 0.7933 GB, free: 6.816 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.009685, allocations: 8.812 kB / 0.7933 GB, free: 6.812 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.009753, allocations: 78.19 kB / 0.7934 GB, free: 6.734 MB / 0.7449 GB Notification: Performance of SimCode: time 8.81e-07/0.009754, allocations: 0 / 0.7934 GB, free: 6.734 MB / 0.7449 GB Notification: Performance of Templates: time 0.003734/0.01349, allocations: 1.129 MB / 0.7945 GB, free: 5.633 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.9240485448390245]