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.001387/0.001387, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001489/0.001489, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.808/2.808, allocations: 476.8 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.002085/0.002085, allocations: 64.33 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3536, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0018/0.3554, allocations: 0.6077 MB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000396/0.3558, allocations: 99.64 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.3559, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3559, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.3559, allocations: 0 / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3563, allocations: 47.89 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3564, allocations: 63.94 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.3564, allocations: 4.078 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.3565, allocations: 23.98 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.3565, allocations: 23.97 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3565, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3567, allocations: 51.95 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.3567, allocations: 27.89 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.3568, allocations: 19.92 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3569, allocations: 71.77 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3569, allocations: 4 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3569, allocations: 4 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3569, allocations: 3.938 kB / 1.286 GB, free: 10.19 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.0005225/0.3575, allocations: 290.3 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3575, allocations: 12.03 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.3575, allocations: 12.89 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.3576, allocations: 106.5 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.3581, allocations: 0.5299 MB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3581, allocations: 4.375 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.3584, allocations: 90.12 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3584, allocations: 3.938 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3584, allocations: 0 / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3584, allocations: 7.938 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.3588, allocations: 135.8 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3589, allocations: 140.7 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3592, allocations: 90.52 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.3594, allocations: 36.84 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3594, allocations: 11.98 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3594, allocations: 30.56 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3594, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005228/0.36, allocations: 157.7 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.36, allocations: 55.41 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.36, allocations: 89.86 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3601, allocations: 25.7 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3601, allocations: 84.14 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3601, allocations: 35.69 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3602, allocations: 33.69 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3603, allocations: 314.8 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3605, allocations: 35.97 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3606, allocations: 27.97 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.3608, allocations: 84.75 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3608, allocations: 3.938 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003212/0.3612, allocations: 110.3 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.3612, allocations: 11.94 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3612, allocations: 0 / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3612, allocations: 0 / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3614, allocations: 19.98 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3614, allocations: 4 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3614, allocations: 15.88 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3615, allocations: 4 kB / 1.288 GB, free: 7.309 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 0.000107/0.3616, allocations: 125.8 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.3616, allocations: 11.88 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.3616, allocations: 11.89 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3616, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3616, allocations: 4 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3616, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3618, allocations: 144.7 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3618, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3619, allocations: 31.97 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3619, allocations: 3.938 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3619, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3619, allocations: 11.94 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3619, allocations: 0 / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.3623, allocations: 145 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.3623, allocations: 7.891 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3623, allocations: 11.88 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.3624, allocations: 0 / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.3624, allocations: 19.97 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3624, allocations: 7.984 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.3625, allocations: 75.28 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3625, allocations: 0 / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002269/0.3627, allocations: 24 kB / 1.289 GB, free: 6.613 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.0001888/0.3629, allocations: 107.2 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.3632, allocations: 87.88 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3632, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3634, allocations: 51.84 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.3635, allocations: 4 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.364, allocations: 192.7 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3643, allocations: 0.6884 MB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.3644, allocations: 19.42 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3644, allocations: 0 / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.003328/0.3677, allocations: 1.328 MB / 1.291 GB, free: 4.078 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/jenkins1/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: 11.703991990012582]