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.001885/0.001885, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.00202/0.00202, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.057/3.057, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",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.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.612e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001633/0.001659, allocations: 0.6003 MB / 0.8114 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.002043, allocations: 108.4 kB / 0.8115 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.002063, allocations: 0.6875 kB / 0.8115 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.002117, allocations: 0.9062 kB / 0.8115 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.002123, allocations: 0 / 0.8115 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.002455, allocations: 40.05 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.00259, allocations: 72.5 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.002621, allocations: 4.875 kB / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.002686, allocations: 31.97 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.002731, allocations: 19.97 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.002752, allocations: 5.188 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.002896, allocations: 51.92 kB / 0.8118 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.00294, allocations: 19.97 kB / 0.8118 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.00297, allocations: 17.44 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.003157, allocations: 87.75 kB / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003159, allocations: 0 / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00316, allocations: 0 / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003164, allocations: 1.531 kB / 0.8119 GB, free: 1 MB / 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.0005955/0.003759, allocations: 400.2 kB / 0.8123 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.003797, allocations: 12.03 kB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.003865, allocations: 20.88 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.003961, allocations: 109.2 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.004461, allocations: 0.5271 MB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.004478, allocations: 8.375 kB / 0.8129 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.004711, allocations: 78.14 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00472, allocations: 1.594 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.00473, allocations: 384 / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004736, allocations: 4.125 kB / 0.813 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.00515, allocations: 127.8 kB / 0.8131 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.005332, allocations: 125.2 kB / 0.8132 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.005647, allocations: 91.94 kB / 0.8133 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.005796, allocations: 43.66 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.005822, allocations: 4 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.005856, allocations: 34.14 kB / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.005857, allocations: 0 / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0005678/0.006425, allocations: 146.5 kB / 0.8135 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.006469, allocations: 52.69 kB / 0.8136 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.006564, allocations: 150.2 kB / 0.8137 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.006584, allocations: 25.7 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.006651, allocations: 128.7 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.006712, allocations: 43.62 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.006776, allocations: 35.36 kB / 0.814 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002672/0.007043, allocations: 496.1 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.007182, allocations: 27.97 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.007305, allocations: 25.33 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.007572, allocations: 68.19 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007574, allocations: 3.938 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003439/0.007918, allocations: 98.16 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.007935, allocations: 8.562 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007942, allocations: 3.984 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.007955, allocations: 0.5625 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.0081, allocations: 21.3 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.008107, allocations: 3.938 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.008178, allocations: 11.95 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.008192, allocations: 8.609 kB / 0.8147 GB, free: 13.79 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.0001202/0.008312, allocations: 165.1 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.008332, allocations: 4 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.00837, allocations: 17.91 kB / 0.8149 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.008374, allocations: 3.984 kB / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008377, allocations: 0 / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.008383, allocations: 7.938 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.008523, allocations: 132.6 kB / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008524, allocations: 0.5312 kB / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.008652, allocations: 24.69 kB / 0.815 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.008657, allocations: 4 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.008666, allocations: 0.8125 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.00867, allocations: 4 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00867, allocations: 0.9375 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.009067, allocations: 152.3 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.009075, allocations: 5.281 kB / 0.8152 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.009092, allocations: 4 kB / 0.8152 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.009153, allocations: 11.92 kB / 0.8152 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.009209, allocations: 7.984 kB / 0.8152 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.00922, allocations: 8.953 kB / 0.8152 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.3e-05/0.009283, allocations: 123.1 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009283, allocations: 0 / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002124/0.009496, allocations: 26.31 kB / 0.8154 GB, free: 13.05 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.000195/0.009691, allocations: 121.6 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.01005, allocations: 83.56 kB / 0.8156 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01005, allocations: 0 / 0.8156 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.01022, allocations: 63.03 kB / 0.8156 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.01035, allocations: 11.94 kB / 0.8156 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.01078, allocations: 157 kB / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.01085, allocations: 67.34 kB / 0.8159 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000109/0.01096, allocations: 34.89 kB / 0.8159 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.011, allocations: 17.48 kB / 0.8159 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.011, allocations: 0 / 0.8159 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.004257/0.01526, allocations: 1.023 MB / 0.8169 GB, free: 11.45 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.245309720980003]