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.001364/0.001364, allocations: 82.64 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.001714/0.001714, allocations: 181 kB / 24.09 MB, free: 420 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.9723/0.9723, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.823/1.823, allocations: 359 MB / 0.6055 GB, free: 10.9 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.513e-06/1.513e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.535e-05, allocations: 2.969 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001737/0.001752, allocations: 1.588 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.00209, allocations: 187.4 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.002124, allocations: 0 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.002148, allocations: 4.656 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.002192, allocations: 5.219 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.002473, allocations: 51.81 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.002531, allocations: 39.89 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.002602, allocations: 12 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.002638, allocations: 25.39 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.002671, allocations: 15.97 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.002683, allocations: 4 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.002781, allocations: 51.12 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.002793, allocations: 7.984 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.002808, allocations: 11.94 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.002932, allocations: 75.7 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002934, allocations: 0 / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002934, allocations: 0 / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.002938, allocations: 0 / 0.7896 GB, free: 10.14 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.0002957/0.003234, allocations: 372.5 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003268, allocations: 12.03 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.003294, allocations: 9.969 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/0.003362, allocations: 108.6 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.003376, allocations: 4.969 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-06/0.003384, allocations: 4.312 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003484, allocations: 67.64 kB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.003492, allocations: 4.688 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003499, allocations: 384 / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003503, allocations: 1.938 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.003528, allocations: 15.92 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.003742, allocations: 244.5 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.00387, allocations: 51.59 kB / 0.7904 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.003887, allocations: 12.66 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.003985, allocations: 15.98 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.004006, allocations: 38.08 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.816e-06/0.004009, allocations: 4.578 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001111/0.00412, allocations: 57.52 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.00414, allocations: 52.78 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.004203, allocations: 161.9 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004212, allocations: 29.7 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.004254, allocations: 144.3 kB / 0.7909 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.004267, allocations: 7.938 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.004296, allocations: 23.36 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004397, allocations: 496.1 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.004408, allocations: 3.984 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.004417, allocations: 5.531 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.004445, allocations: 19.69 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004446, allocations: 0 / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.832e-05/0.004494, allocations: 48.16 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004504, allocations: 7.938 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.004508, allocations: 0 / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004518, allocations: 0 / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-05/0.004557, allocations: 15.98 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.004559, allocations: 0 / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.004576, allocations: 0 / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.00458, allocations: 5.75 kB / 0.7915 GB, free: 7.949 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 5.255e-05/0.004633, allocations: 152.6 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.004646, allocations: 4 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.004717, allocations: 57.77 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004719, allocations: 0 / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.004722, allocations: 4.562 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004724, allocations: 1.594 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.389e-05/0.004808, allocations: 109.2 kB / 0.7918 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004809, allocations: 0 / 0.7918 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.004833, allocations: 11.98 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.004834, allocations: 2.125 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.004838, allocations: 0 / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.00484, allocations: 4.234 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.004842, allocations: 7.938 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.047e-05/0.004923, allocations: 187.9 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.004929, allocations: 4 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-06/0.004936, allocations: 0.5312 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.004967, allocations: 13.47 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.004999, allocations: 7.875 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.005002, allocations: 4 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.005034, allocations: 132 kB / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005034, allocations: 0 / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001481/0.005182, allocations: 16.47 kB / 0.7922 GB, free: 7.184 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.0001152/0.005297, allocations: 116.1 kB / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.005355, allocations: 29.72 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.005356, allocations: 0 / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.005376, allocations: 15.69 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.005524, allocations: 11.92 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.005712, allocations: 130.7 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.005741, allocations: 56.39 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.846e-05/0.005759, allocations: 5.109 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.005801, allocations: 74.2 kB / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.005801, allocations: 0 / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.002304/0.008105, allocations: 1.117 MB / 0.7937 GB, free: 5.59 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: 4.921741154976189]