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.001159/0.001159, 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.001259/0.001259, allocations: 165 kB / 24.86 MB, free: 8.676 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 0.9523/0.9523, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.866/1.866, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.223e-06/1.223e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.329e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001236/0.001249, allocations: 0.6016 MB / 0.8134 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.004545, allocations: 87.69 kB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.004565, allocations: 0 / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.004603, allocations: 8.641 kB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.004609, allocations: 1.188 kB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.004903, allocations: 40.27 kB / 0.8135 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.005012, allocations: 67.86 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.005046, allocations: 4.562 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.00509, allocations: 31.95 kB / 0.8136 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.738e-05/0.005128, allocations: 30.36 kB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.005142, allocations: 0 / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005253, allocations: 47.94 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.005285, allocations: 23.95 kB / 0.8137 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.005306, allocations: 19.92 kB / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005444, allocations: 87.75 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005446, allocations: 0.9062 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005447, allocations: 0 / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005451, allocations: 0 / 0.8138 GB, free: 376 kB / 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.0003701/0.005821, allocations: 401.2 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.005851, allocations: 8.031 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.005896, allocations: 30.61 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.814e-05/0.005954, allocations: 108.6 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.006215, allocations: 0.5299 MB / 0.8149 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.006226, allocations: 4.375 kB / 0.8149 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.006389, allocations: 88.48 kB / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.006396, allocations: 192 / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.006406, allocations: 4.375 kB / 0.815 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.006415, allocations: 8.125 kB / 0.815 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.006533, allocations: 84.77 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.006649, allocations: 113.2 kB / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.006741, allocations: 67.48 kB / 0.8152 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.006776, allocations: 28.2 kB / 0.8153 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.006792, allocations: 5.125 kB / 0.8153 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.006813, allocations: 37.39 kB / 0.8153 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 8.11e-07/0.006814, allocations: 0 / 0.8153 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001884/0.007002, allocations: 102.4 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.007031, allocations: 59.86 kB / 0.8155 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.007075, allocations: 142.2 kB / 0.8156 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.007089, allocations: 31.08 kB / 0.8156 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.007119, allocations: 126.9 kB / 0.8157 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.007161, allocations: 35.7 kB / 0.8158 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.007206, allocations: 36.5 kB / 0.8158 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.003126/0.01033, allocations: 0.4922 MB / 0.8163 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.01037, allocations: 15.98 kB / 0.8163 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.0104, allocations: 12.92 kB / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.01046, allocations: 39.62 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01047, allocations: 4.828 kB / 0.8164 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000117/0.01058, allocations: 73.67 kB / 0.8164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01059, allocations: 11.28 kB / 0.8164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.0106, allocations: 0 / 0.8164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01061, allocations: 5.281 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01071, allocations: 23.97 kB / 0.8165 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.01071, allocations: 0 / 0.8165 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.01075, allocations: 11.89 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01076, allocations: 4.844 kB / 0.8165 GB, free: 13.35 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 0.0002957/0.01106, allocations: 157.6 kB / 0.8166 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.01107, allocations: 7.984 kB / 0.8166 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.01109, allocations: 13.41 kB / 0.8167 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.0111, allocations: 7.938 kB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.0111, allocations: 0 / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.0111, allocations: 0 / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.135e-05/0.01119, allocations: 126.4 kB / 0.8168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01119, allocations: 0 / 0.8168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.01127, allocations: 27.92 kB / 0.8168 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01127, allocations: 0 / 0.8168 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.01128, allocations: 7.016 kB / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01128, allocations: 0 / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.01128, allocations: 8 kB / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01141, allocations: 112.4 kB / 0.8169 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.01142, allocations: 11.94 kB / 0.8169 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.01143, allocations: 4 kB / 0.817 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.01147, allocations: 4 kB / 0.817 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.01151, allocations: 19.84 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01152, allocations: 4.5 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.01155, allocations: 121.1 kB / 0.8171 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01155, allocations: 4 kB / 0.8171 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002081/0.01176, allocations: 16 kB / 0.8171 GB, free: 12.66 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.0001325/0.01189, allocations: 128.2 kB / 0.8172 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01201, allocations: 60.52 kB / 0.8173 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.01201, allocations: 3.938 kB / 0.8173 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.01206, allocations: 40.47 kB / 0.8173 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.01219, allocations: 24.7 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.01239, allocations: 140.8 kB / 0.8175 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.294e-05/0.01242, allocations: 63.34 kB / 0.8176 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.658e-05/0.01248, allocations: 18.83 kB / 0.8176 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.01254, allocations: 78.19 kB / 0.8176 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of SimCode: time 3.7e-07/0.01254, allocations: 4.875 kB / 0.8177 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Templates: time 0.002817/0.01535, allocations: 1.255 MB / 0.8189 GB, free: 10.82 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: 5.016761057078838]