Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001481/0.001481, allocations: 80.39 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.001602/0.001602, allocations: 166.6 kB / 24.87 MB, free: 9.285 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 5.203 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.726e-05, allocations: 5.766 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002029/0.002047, allocations: 1.587 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.002423, allocations: 175.4 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.002463, allocations: 4 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.00249, allocations: 5.188 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.002538, allocations: 7.922 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.002849, allocations: 55.81 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.002911, allocations: 37.77 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.002995, allocations: 15.97 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.003031, allocations: 19.98 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.003064, allocations: 11.98 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.003077, allocations: 0 / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.003179, allocations: 56.56 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.003193, allocations: 15.92 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.00321, allocations: 12.73 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.00333, allocations: 59.8 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003331, allocations: 4.906 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003332, allocations: 0 / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.003335, allocations: 0 / 0.8148 GB, free: 15.39 MB / 0.7761 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.0003221/0.003657, allocations: 381.1 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.003687, allocations: 9.188 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.003714, allocations: 4.938 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.003791, allocations: 116.6 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.003808, allocations: 4.938 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.003817, allocations: 4.375 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.003922, allocations: 63.5 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003929, allocations: 1.438 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.003936, allocations: 384 / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003941, allocations: 384 / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.003967, allocations: 18.16 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.004195, allocations: 252.3 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.004327, allocations: 43.11 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.004345, allocations: 19.73 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.004436, allocations: 12.67 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.004458, allocations: 45.31 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004459, allocations: 0.5625 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001214/0.00458, allocations: 54.95 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.004605, allocations: 51.41 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.004664, allocations: 165.9 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.004672, allocations: 25.7 kB / 0.816 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.004714, allocations: 132.4 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.00473, allocations: 15.89 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004755, allocations: 19.38 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003862/0.005142, allocations: 0.4884 MB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.005155, allocations: 5.219 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.005166, allocations: 3.938 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.005195, allocations: 19.67 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005197, allocations: 1.375 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.81e-05/0.005255, allocations: 45.69 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005265, allocations: 7.938 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.005269, allocations: 0.5312 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005277, allocations: 4.531 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.005315, allocations: 4 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.005317, allocations: 0.875 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.005336, allocations: 7.984 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.00534, allocations: 1.062 kB / 0.8167 GB, free: 13.21 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: 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 5.89e-05/0.005399, allocations: 161 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.005416, allocations: 4 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.005491, allocations: 62.67 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005493, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005494, allocations: 3.938 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005497, allocations: 1.219 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.808e-05/0.005585, allocations: 105.2 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005587, allocations: 3.984 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.00561, allocations: 4.656 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005612, allocations: 0 / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.005616, allocations: 0.7188 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005616, allocations: 4 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005618, allocations: 4.844 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.664e-05/0.005705, allocations: 192.2 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.005711, allocations: 4.828 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-06/0.005719, allocations: 4 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.005756, allocations: 1.328 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.005791, allocations: 19.91 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.005793, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.005823, allocations: 123.7 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005823, allocations: 0 / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001593/0.005982, allocations: 20.73 kB / 0.8174 GB, free: 12.45 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: 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.0001202/0.006102, allocations: 116.9 kB / 0.8175 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.989e-05/0.006172, allocations: 27.61 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006173, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.006196, allocations: 20.55 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.006351, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.006541, allocations: 129.8 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.006574, allocations: 67.19 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.006594, allocations: 4 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.00664, allocations: 74.2 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.006641, allocations: 0 / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.002403/0.009044, allocations: 1.125 MB / 0.819 GB, free: 10.86 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.076016261707991]