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.001385/0.001385, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001597/0.001597, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.836/2.836, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.054e-06/2.054e-06, allocations: 0 / 0.8108 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.048e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00169/0.001721, allocations: 0.5988 MB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.002114, allocations: 101.6 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.002133, allocations: 0 / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.002172, allocations: 0 / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.002178, allocations: 1.375 kB / 0.8115 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.002535, allocations: 44.58 kB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.002669, allocations: 64.47 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.002711, allocations: 4 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.002787, allocations: 37.2 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.002851, allocations: 24.11 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.002874, allocations: 4 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.003022, allocations: 53.75 kB / 0.8118 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.00306, allocations: 15.98 kB / 0.8118 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.003097, allocations: 15.97 kB / 0.8118 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.003281, allocations: 91.67 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003283, allocations: 0 / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003284, allocations: 0.7812 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003287, allocations: 0 / 0.8119 GB, free: 1.012 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.0005961/0.003884, allocations: 295 kB / 0.8122 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.003928, allocations: 12.94 kB / 0.8122 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.00401, allocations: 16.89 kB / 0.8122 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004126, allocations: 113.7 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008046/0.004931, allocations: 0.5266 MB / 0.8128 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.004946, allocations: 4.375 kB / 0.8128 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.005217, allocations: 83.2 kB / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005226, allocations: 192 / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.005242, allocations: 5.031 kB / 0.8129 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.005252, allocations: 12.05 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.005645, allocations: 128.4 kB / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.005837, allocations: 118.6 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.00617, allocations: 90.39 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.006329, allocations: 44.77 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.006352, allocations: 2.188 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.006396, allocations: 38.56 kB / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.006397, allocations: 0 / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0006143/0.007011, allocations: 145.9 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.007058, allocations: 51.41 kB / 0.8135 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.007128, allocations: 102.5 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.007151, allocations: 25.7 kB / 0.8136 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.007199, allocations: 84.14 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.007253, allocations: 37.16 kB / 0.8137 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.007315, allocations: 29.7 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.007491, allocations: 314.8 kB / 0.8141 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.007646, allocations: 37.45 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.007782, allocations: 31.97 kB / 0.8141 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.008079, allocations: 73.47 kB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008081, allocations: 0 / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000366/0.008447, allocations: 119.3 kB / 0.8143 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.008461, allocations: 8 kB / 0.8143 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008466, allocations: 0 / 0.8143 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.008484, allocations: 0 / 0.8143 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.008655, allocations: 29.03 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.008662, allocations: 7.938 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.00873, allocations: 15.89 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.008744, allocations: 5.453 kB / 0.8144 GB, free: 14.16 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.0001129/0.008857, allocations: 117.8 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.00888, allocations: 4 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.008921, allocations: 16.5 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008924, allocations: 0 / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.008931, allocations: 4.547 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.008935, allocations: 4.469 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.009073, allocations: 117.3 kB / 0.8146 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009074, allocations: 4.812 kB / 0.8146 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.009206, allocations: 23.92 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009209, allocations: 4.812 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.009227, allocations: 11.98 kB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009228, allocations: 0.5312 kB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.009229, allocations: 1.375 kB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.009646, allocations: 145 kB / 0.8148 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.009658, allocations: 7.922 kB / 0.8148 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.009676, allocations: 4 kB / 0.8148 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.009733, allocations: 1.281 kB / 0.8148 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.009795, allocations: 19.97 kB / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.009803, allocations: 0 / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.00985, allocations: 79.88 kB / 0.8149 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00985, allocations: 4 kB / 0.8149 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000244/0.01009, allocations: 24.66 kB / 0.815 GB, free: 13.53 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.0002122/0.01031, allocations: 116.1 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.01068, allocations: 84.78 kB / 0.8151 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01069, allocations: 0 / 0.8151 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.01085, allocations: 49.23 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.011, allocations: 17.22 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.01145, allocations: 157.1 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.379e-05/0.01152, allocations: 68 kB / 0.8154 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.01168, allocations: 46.02 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.01174, allocations: 24.48 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of SimCode: time 3.3e-07/0.01174, allocations: 0 / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.00389/0.01563, allocations: 1.029 MB / 0.8165 GB, free: 11.95 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=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: 7.694133835961111]