Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001816/0.001816, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002453/0.002453, allocations: 213.6 kB / 22.24 MB, free: 5.258 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.96/2.96, allocations: 476 MB / 0.7699 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.19 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3354, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001804/0.3372, allocations: 0.5926 MB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.3376, allocations: 103.7 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.3376, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3377, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.3377, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.3381, allocations: 43.83 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.3382, allocations: 63.94 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.3383, allocations: 4.094 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.3383, allocations: 23.97 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.3384, allocations: 23.91 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3384, allocations: 4 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3385, allocations: 55.94 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.3386, allocations: 27.97 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.3386, allocations: 27.84 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3388, allocations: 63.78 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3388, allocations: 4 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3388, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3388, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 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.000539/0.3393, allocations: 294.3 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3394, allocations: 8.031 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.3394, allocations: 12.89 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.3395, allocations: 110.5 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.3399, allocations: 0.5338 MB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.34, allocations: 8.312 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.3402, allocations: 78.2 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3402, allocations: 3.938 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3402, allocations: 3.984 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.3403, allocations: 3.938 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.3406, allocations: 131.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.3408, allocations: 121.3 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.3411, allocations: 82.53 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3412, allocations: 40.83 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3412, allocations: 4 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.3413, allocations: 38.56 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.3413, allocations: 0 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005434/0.3418, allocations: 157.6 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3419, allocations: 55.41 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.3419, allocations: 89.86 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3419, allocations: 29.7 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.342, allocations: 80.14 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.342, allocations: 35.69 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.3421, allocations: 25.7 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3422, allocations: 326.8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3423, allocations: 27.98 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3425, allocations: 39.84 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3427, allocations: 76.75 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3427, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.343, allocations: 109.6 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.343, allocations: 6.344 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3431, allocations: 0 / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3431, allocations: 7.922 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3432, allocations: 31.98 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3432, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.3433, allocations: 15.83 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3433, allocations: 3.984 kB / 1.287 GB, free: 8.098 MB / 0.9825 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 9.815e-05/0.3434, allocations: 121.8 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.3434, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.3435, allocations: 19.83 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3435, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3435, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3435, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3436, allocations: 125.2 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3436, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3437, allocations: 23.98 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3437, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3437, allocations: 3.984 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3437, allocations: 3.938 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3437, allocations: 0 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3441, allocations: 145 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.3441, allocations: 11.88 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3441, allocations: 4 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.3442, allocations: 7.938 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3442, allocations: 19.97 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3442, allocations: 4 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.3443, allocations: 75.28 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3443, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002268/0.3445, allocations: 20 kB / 1.287 GB, free: 7.453 MB / 0.9825 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.000192/0.3447, allocations: 111.2 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.345, allocations: 88.75 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.345, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3452, allocations: 55.83 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3453, allocations: 4.438 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3457, allocations: 160.8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.3458, allocations: 71.33 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00015/0.346, allocations: 39.91 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.346, allocations: 15.42 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.346, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.003739/0.3497, allocations: 1.004 MB / 1.289 GB, free: 5.867 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.885037872940302]