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.001962/0.001962, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002655/0.002655, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.304/3.304, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002036/0.002036, allocations: 66.61 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002178/0.3701, allocations: 0.5826 MB / 1.326 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004303/0.3705, allocations: 116 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3706, allocations: 3.938 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3706, allocations: 0 / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.3706, allocations: 0 / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.371, allocations: 35.89 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3711, allocations: 63.92 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3712, allocations: 8 kB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.3712, allocations: 19.98 kB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.3713, allocations: 23.95 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3713, allocations: 4 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3715, allocations: 51.95 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3715, allocations: 23.97 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.3715, allocations: 19.92 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3717, allocations: 75.77 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3717, allocations: 3.938 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3717, allocations: 3.938 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3717, allocations: 0 / 1.327 GB, free: 0.7969 MB / 1.014 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.0005612/0.3723, allocations: 290.3 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3723, allocations: 8.031 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.3724, allocations: 12.89 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.593e-05/0.3725, allocations: 114.4 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004733/0.3729, allocations: 0.5299 MB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.373, allocations: 4.375 kB / 1.327 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3732, allocations: 82.19 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3732, allocations: 3.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3732, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3733, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.3737, allocations: 131.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.3738, allocations: 125.2 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3742, allocations: 94.45 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.3743, allocations: 40.83 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3743, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3744, allocations: 34.56 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3744, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006288/0.375, allocations: 150.1 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.375, allocations: 59.34 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.3751, allocations: 93.86 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3751, allocations: 25.7 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.3752, allocations: 80.14 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.3752, allocations: 35.69 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3753, allocations: 33.7 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3754, allocations: 314.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3755, allocations: 35.97 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3757, allocations: 36.02 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.376, allocations: 72.81 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.376, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003471/0.3763, allocations: 117.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3763, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3763, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3764, allocations: 3.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3765, allocations: 27.97 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3765, allocations: 8 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.3766, allocations: 11.89 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3766, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 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.0001872/0.3768, allocations: 126.3 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3768, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.3768, allocations: 15.84 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3769, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3769, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3769, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.377, allocations: 133.2 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.377, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3771, allocations: 27.97 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3771, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.3771, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3771, allocations: 3.938 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3771, allocations: 3.984 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3775, allocations: 141 kB / 1.329 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.3775, allocations: 7.891 kB / 1.329 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3775, allocations: 4 kB / 1.329 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.3776, allocations: 15.92 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.3777, allocations: 15.92 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3777, allocations: 3.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3777, allocations: 79.28 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3777, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002492/0.378, allocations: 20 kB / 1.33 GB, free: 13.3 MB / 1.029 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.0001957/0.3782, allocations: 115.2 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3785, allocations: 87.81 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3785, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3787, allocations: 47.97 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.3788, allocations: 6.906 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.3793, allocations: 156.8 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.3794, allocations: 71.28 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.3795, allocations: 39.95 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3796, allocations: 19.42 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3796, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.003963/0.3835, allocations: 1.002 MB / 1.331 GB, free: 11.71 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] 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: 9.14418569020927]