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.0009694/0.0009694, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009678/0.0009678, allocations: 169 kB / 24.28 MB, free: 280 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 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.578 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.75/1.75, allocations: 359 MB / 0.6055 GB, free: 11.03 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.393e-06/1.393e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.588e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00184/0.001856, allocations: 1.592 MB / 0.7887 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.00222, allocations: 179.4 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.002257, allocations: 0 / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.002283, allocations: 3.938 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.002325, allocations: 4.797 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.002648, allocations: 55.81 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.002725, allocations: 36.77 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.002817, allocations: 15.98 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.002856, allocations: 26.38 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.002891, allocations: 15.92 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002907, allocations: 4 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.003022, allocations: 47.94 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.003033, allocations: 4 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.003056, allocations: 15.97 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.00319, allocations: 67.73 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003192, allocations: 1.812 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003193, allocations: 0 / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003197, allocations: 0 / 0.7891 GB, free: 10.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003506/0.003547, allocations: 376.5 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.003581, allocations: 12.62 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.003622, allocations: 8.938 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.003715, allocations: 117.9 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.003735, allocations: 4.375 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.003745, allocations: 4.375 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.003883, allocations: 72.03 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.00389, allocations: 192 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003899, allocations: 384 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.003906, allocations: 1.75 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.003945, allocations: 15.92 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.00424, allocations: 263.8 kB / 0.79 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.004405, allocations: 52.73 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.00443, allocations: 15.73 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.004547, allocations: 15.98 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004568, allocations: 38.45 kB / 0.7901 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004569, allocations: 0 / 0.7901 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.004722, allocations: 57.58 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.00475, allocations: 51.94 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.004987, allocations: 167.9 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.004998, allocations: 25.7 kB / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.005048, allocations: 138.8 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.005064, allocations: 7.953 kB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.005094, allocations: 23.36 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005197, allocations: 498.7 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.005217, allocations: 4 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.005231, allocations: 3.984 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.005267, allocations: 23.95 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005269, allocations: 0 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.823e-05/0.005337, allocations: 57.56 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.005349, allocations: 4 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005354, allocations: 0.5 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.005366, allocations: 4.656 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.00541, allocations: 11.98 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.005415, allocations: 0.5312 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.005435, allocations: 1.656 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005441, allocations: 4 kB / 0.7911 GB, free: 8.52 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: 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 6.676e-05/0.005508, allocations: 152.6 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.005524, allocations: 7.938 kB / 0.7913 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.005629, allocations: 61.8 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005631, allocations: 0.5625 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.005635, allocations: 1.062 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.005638, allocations: 0 / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.00574, allocations: 129.4 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005741, allocations: 0 / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.005767, allocations: 7.984 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005768, allocations: 0.8438 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.005776, allocations: 7.938 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005777, allocations: 1.281 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.005779, allocations: 3.984 kB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.005871, allocations: 187.9 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.005877, allocations: 4.844 kB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005888, allocations: 3.938 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.005921, allocations: 9.203 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.005962, allocations: 7.984 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005965, allocations: 3.938 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.005996, allocations: 128.5 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005996, allocations: 0 / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001707/0.006166, allocations: 19.94 kB / 0.7918 GB, free: 7.727 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: 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.0001297/0.006296, allocations: 112.8 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.006376, allocations: 23.67 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006378, allocations: 3.938 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.006404, allocations: 22.45 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.006574, allocations: 4 kB / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.006822, allocations: 138.4 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.006855, allocations: 59.34 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.006877, allocations: 4.5 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.006902, allocations: 10.31 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.006903, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.002612/0.009515, allocations: 1.015 MB / 0.7932 GB, free: 6.301 MB / 0.7448 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: 5.000083992956206]