Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001973/0.001973, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00265/0.00265, allocations: 213 kB / 22.25 MB, free: 4.859 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.816 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.867/2.867, allocations: 476 MB / 0.7699 GB, free: 4.801 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.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.002165/0.002165, allocations: 65.34 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 169.9 MB / 1.283 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003341/0.3812, allocations: 1.565 MB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005542/0.3818, allocations: 171.5 kB / 1.285 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3818, allocations: 4 kB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.3818, allocations: 3.938 kB / 1.285 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.3819, allocations: 7.938 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3823, allocations: 51.88 kB / 1.285 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.3824, allocations: 43.8 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3825, allocations: 11.98 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.3825, allocations: 15.97 kB / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.3826, allocations: 19.86 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3826, allocations: 4 kB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3827, allocations: 51.95 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3827, allocations: 11.98 kB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3828, allocations: 15.92 kB / 1.285 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3829, allocations: 59.8 kB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3829, allocations: 0 / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3829, allocations: 0 / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3829, allocations: 0 / 1.285 GB, free: 1.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000554/0.3835, allocations: 294.1 kB / 1.285 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3835, allocations: 8.031 kB / 1.285 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3836, allocations: 4.891 kB / 1.285 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3837, allocations: 114.5 kB / 1.285 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3837, allocations: 4.375 kB / 1.285 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3837, allocations: 4.375 kB / 1.285 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.384, allocations: 70.22 kB / 1.285 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.384, allocations: 192 / 1.285 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.384, allocations: 3.938 kB / 1.285 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.384, allocations: 0 / 1.285 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.3842, allocations: 43.95 kB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.3846, allocations: 224.4 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.385, allocations: 62.47 kB / 1.286 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.3851, allocations: 28.91 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.3852, allocations: 11.98 kB / 1.286 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3853, allocations: 30.56 kB / 1.286 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3853, allocations: 0 / 1.286 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004331/0.3857, allocations: 97.56 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3857, allocations: 55.41 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.3858, allocations: 105.8 kB / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3859, allocations: 25.7 kB / 1.286 GB, free: 416 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.3859, allocations: 92.09 kB / 1.286 GB, free: 320 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3859, allocations: 9.312 kB / 1.286 GB, free: 312 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.386, allocations: 21.7 kB / 1.286 GB, free: 284 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3862, allocations: 314.8 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.3863, allocations: 15.98 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.3863, allocations: 19.97 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3865, allocations: 57.03 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3865, allocations: 3.938 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/0.3867, allocations: 73.64 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3868, allocations: 11.94 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3868, allocations: 0 / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3868, allocations: 0 / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.3869, allocations: 11.98 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3869, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.3869, allocations: 11.98 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3869, allocations: 0 / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.922e-05/0.387, allocations: 117.8 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.3871, allocations: 3.953 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3873, allocations: 85.27 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3873, allocations: 0 / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3873, allocations: 0 / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3873, allocations: 0 / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3875, allocations: 121.2 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3875, allocations: 256 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.3876, allocations: 15.98 kB / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3876, allocations: 0 / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3876, allocations: 0 / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3876, allocations: 4 kB / 1.287 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3876, allocations: 0 / 1.287 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.3879, allocations: 175.4 kB / 1.287 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-06/0.3879, allocations: 0 / 1.287 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3879, allocations: 4 kB / 1.287 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.388, allocations: 7.984 kB / 1.287 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.388, allocations: 11.98 kB / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.388, allocations: 0 / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.3881, allocations: 83.28 kB / 1.287 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3881, allocations: 0 / 1.287 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002566/0.3883, allocations: 27.83 kB / 1.287 GB, free: 15.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001844/0.3885, allocations: 107.2 kB / 1.287 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3888, allocations: 51.95 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3888, allocations: 0 / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3889, allocations: 27.91 kB / 1.288 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3892, allocations: 11.88 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.3895, allocations: 117.5 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.3896, allocations: 63.34 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.3896, allocations: 11.98 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.3897, allocations: 11.44 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3897, allocations: 0 / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.00403/0.3937, allocations: 0.9914 MB / 1.289 GB, free: 13.61 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.89773697219789]