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.001294/0.001294, allocations: 81.86 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.0009447/0.0009447, allocations: 181 kB / 24.09 MB, free: 416 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.9462/0.9462, 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 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.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.433e-06/1.433e-06, allocations: 0 / 0.812 GB, free: 248 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.598e-05, allocations: 2.312 kB / 0.812 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001236/0.001262, allocations: 0.6141 MB / 0.8126 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.001565, allocations: 104.2 kB / 0.8127 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.001587, allocations: 1.594 kB / 0.8127 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.001622, allocations: 0 / 0.8127 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001629, allocations: 0.7656 kB / 0.8127 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.001961, allocations: 47.81 kB / 0.8128 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002067, allocations: 65.67 kB / 0.8129 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.0021, allocations: 0 / 0.8129 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.002149, allocations: 33.05 kB / 0.8129 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.00218, allocations: 23.95 kB / 0.8129 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002196, allocations: 4 kB / 0.8129 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.002308, allocations: 49.12 kB / 0.813 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.002335, allocations: 18.66 kB / 0.813 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.002357, allocations: 24.45 kB / 0.813 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002476, allocations: 87.73 kB / 0.8131 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002479, allocations: 1.969 kB / 0.8131 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00248, allocations: 4 kB / 0.8131 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002483, allocations: 0 / 0.8131 GB, free: 15.2 MB / 0.7292 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.0003486/0.002832, allocations: 400.2 kB / 0.8135 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.002868, allocations: 8.031 kB / 0.8135 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.002908, allocations: 18.09 kB / 0.8135 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.002965, allocations: 104.6 kB / 0.8136 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.003216, allocations: 0.5299 MB / 0.8141 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.003225, allocations: 384 / 0.8141 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.003364, allocations: 96.09 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.003371, allocations: 192 / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.003379, allocations: 4.375 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003385, allocations: 5.625 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.003477, allocations: 87.83 kB / 0.8143 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.003582, allocations: 117.2 kB / 0.8144 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.003658, allocations: 68.38 kB / 0.8145 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.003684, allocations: 23.67 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.003708, allocations: 3.984 kB / 0.8145 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.003729, allocations: 45.86 kB / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.00373, allocations: 0 / 0.8145 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001627/0.003893, allocations: 91.86 kB / 0.8146 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.003918, allocations: 59.41 kB / 0.8147 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.003961, allocations: 142.2 kB / 0.8148 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.003972, allocations: 29.69 kB / 0.8149 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.004, allocations: 129 kB / 0.815 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.004042, allocations: 43.58 kB / 0.815 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.004077, allocations: 39.34 kB / 0.8151 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.004193, allocations: 0.4883 MB / 0.8155 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.004217, allocations: 11.98 kB / 0.8155 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.004238, allocations: 19.92 kB / 0.8156 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.004295, allocations: 40.11 kB / 0.8156 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004297, allocations: 0.5312 kB / 0.8156 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.286e-05/0.004389, allocations: 83.03 kB / 0.8157 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.004401, allocations: 4.531 kB / 0.8157 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.004408, allocations: 0 / 0.8157 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004419, allocations: 1.531 kB / 0.8157 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.004512, allocations: 27.92 kB / 0.8157 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004515, allocations: 0 / 0.8157 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.004543, allocations: 11.92 kB / 0.8157 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.004549, allocations: 0.5312 kB / 0.8157 GB, free: 12.19 MB / 0.7292 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 6.062e-05/0.00461, allocations: 165.8 kB / 0.8159 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.004623, allocations: 11.95 kB / 0.8159 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.004646, allocations: 11.95 kB / 0.8159 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004649, allocations: 4.938 kB / 0.8159 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.00465, allocations: 0 / 0.8159 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.004652, allocations: 0.75 kB / 0.8159 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.239e-05/0.004725, allocations: 109.2 kB / 0.816 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.004726, allocations: 1.094 kB / 0.816 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.004779, allocations: 23.97 kB / 0.816 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.004782, allocations: 4 kB / 0.816 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.004788, allocations: 4.781 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.004789, allocations: 4 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.004792, allocations: 5.453 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.004903, allocations: 128.3 kB / 0.8162 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.004911, allocations: 11.88 kB / 0.8162 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.004919, allocations: 7.984 kB / 0.8162 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.004942, allocations: 5.062 kB / 0.8162 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.004977, allocations: 15.97 kB / 0.8162 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.004981, allocations: 0 / 0.8162 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.65e-05/0.005008, allocations: 121.2 kB / 0.8163 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005008, allocations: 0 / 0.8163 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001463/0.005154, allocations: 24 kB / 0.8164 GB, free: 11.49 MB / 0.7292 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.0001404/0.005294, allocations: 121.5 kB / 0.8165 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.005395, allocations: 59.62 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005397, allocations: 0 / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.005433, allocations: 43.55 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.005535, allocations: 19.92 kB / 0.8166 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.005737, allocations: 138.8 kB / 0.8167 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.005766, allocations: 64.31 kB / 0.8168 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.005808, allocations: 15.52 kB / 0.8168 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.005857, allocations: 82.2 kB / 0.8169 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/0.005858, allocations: 0.6562 kB / 0.8169 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.002607/0.008465, allocations: 1.259 MB / 0.8181 GB, free: 9.668 MB / 0.7292 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.909632619936019]