Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009637/0.0009637, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009914/0.0009914, allocations: 169 kB / 24.28 MB, free: 276 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.9395/0.9395, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.769e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001032/0.00105, allocations: 0.6061 MB / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.001333, allocations: 105.5 kB / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.001355, allocations: 0 / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.00139, allocations: 0 / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.001396, allocations: 0 / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.00173, allocations: 45.34 kB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.001922, allocations: 59.94 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.001966, allocations: 11.98 kB / 0.8124 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.002016, allocations: 27.97 kB / 0.8124 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.002052, allocations: 24.48 kB / 0.8124 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.002069, allocations: 4 kB / 0.8124 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.002191, allocations: 48.66 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.002226, allocations: 24.48 kB / 0.8125 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.002251, allocations: 15.92 kB / 0.8125 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.002389, allocations: 93.05 kB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002391, allocations: 0 / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002392, allocations: 0 / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002396, allocations: 0 / 0.8126 GB, free: 0.9609 MB / 0.7605 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.0003739/0.00277, allocations: 396.8 kB / 0.813 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.002807, allocations: 13.41 kB / 0.813 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.002858, allocations: 17.23 kB / 0.813 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.002917, allocations: 112.6 kB / 0.8131 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.003149, allocations: 0.5271 MB / 0.8136 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.003162, allocations: 8.375 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.003324, allocations: 90.83 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.00333, allocations: 1.375 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.003341, allocations: 4.375 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.003348, allocations: 4.125 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.003469, allocations: 105 kB / 0.8138 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.003585, allocations: 124.6 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.521e-05/0.00368, allocations: 78.95 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.00372, allocations: 32.45 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.003737, allocations: 1.219 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.003758, allocations: 45.31 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 7.52e-07/0.003759, allocations: 336 / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002021/0.003961, allocations: 107.2 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.003987, allocations: 59.41 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.004023, allocations: 146.2 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.004034, allocations: 27.36 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.004058, allocations: 126.9 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.004099, allocations: 43.67 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.004134, allocations: 35.36 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004238, allocations: 496.1 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.00427, allocations: 18.67 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.004304, allocations: 27.97 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.004374, allocations: 43.61 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004376, allocations: 0 / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001088/0.004485, allocations: 81.67 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.004499, allocations: 10.66 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004503, allocations: 0.5 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004514, allocations: 0.5312 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.004611, allocations: 27.91 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.004618, allocations: 13.81 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.004646, allocations: 7.953 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.004655, allocations: 7.984 kB / 0.8153 GB, free: 13.86 MB / 0.7761 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.845e-05/0.004714, allocations: 160.6 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.004725, allocations: 5.75 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.004744, allocations: 7.969 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004745, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.004749, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.004754, allocations: 8.781 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.983e-05/0.004823, allocations: 132.5 kB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004824, allocations: 0 / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.004879, allocations: 24.81 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.004882, allocations: 8 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.00489, allocations: 4.844 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004892, allocations: 3.938 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004892, allocations: 1.281 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.00501, allocations: 132.3 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005016, allocations: 3.953 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005027, allocations: 4.844 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.005053, allocations: 7.984 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.005098, allocations: 10.92 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.005104, allocations: 7.984 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.00513, allocations: 123.1 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00513, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001481/0.005278, allocations: 20 kB / 0.816 GB, free: 13.14 MB / 0.7761 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.0001352/0.005413, allocations: 131.1 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.005532, allocations: 62.25 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005533, allocations: 3.938 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.005578, allocations: 48.25 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.005682, allocations: 14.09 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.00591, allocations: 146.2 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.00594, allocations: 62.92 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.676e-05/0.006007, allocations: 39.23 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.006036, allocations: 13.56 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.006036, allocations: 0 / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.002377/0.008413, allocations: 1.021 MB / 0.8175 GB, free: 11.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.992872053058818]