Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001138/0.001138, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00164/0.002778, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001087/0.001087, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002518, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9309/0.9309, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.034, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.977/1.977, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4964/2.473, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.675e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.0021/0.002127, allocations: 1.656 MB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.002383, allocations: 180.1 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.00241, allocations: 0 / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.002433, allocations: 7.922 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.002461, allocations: 3.812 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002649, allocations: 52.41 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.002714, allocations: 37.45 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.002792, allocations: 4.984 kB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.002855, allocations: 33.81 kB / 0.7313 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.0029, allocations: 16.86 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.002916, allocations: 1.266 kB / 0.7313 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.003054, allocations: 55.94 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003068, allocations: 6.938 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.003089, allocations: 9.641 kB / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.003233, allocations: 55.16 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.003249, allocations: 0.6562 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00325, allocations: 4 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.003264, allocations: 1.719 kB / 0.7314 GB, free: 2.449 MB / 0.698 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.001424/0.004688, allocations: 257.9 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.004725, allocations: 12.03 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.004755, allocations: 4.938 kB / 0.7317 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.004848, allocations: 114.5 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.004876, allocations: 9.359 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.004885, allocations: 1.125 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005023, allocations: 66.92 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.00503, allocations: 1.938 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005039, allocations: 4.375 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.005043, allocations: 384 / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.005072, allocations: 7.938 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.005337, allocations: 176.6 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.005526, allocations: 31.66 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.005543, allocations: 9.844 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.005689, allocations: 24.5 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.005714, allocations: 35.67 kB / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.005716, allocations: 0 / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001243/0.00584, allocations: 49.56 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.005869, allocations: 52.12 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.005932, allocations: 114.8 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.005943, allocations: 26.23 kB / 0.7324 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.005982, allocations: 93.77 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.005999, allocations: 7.953 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.006027, allocations: 15.41 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.006114, allocations: 318.8 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.006126, allocations: 8.875 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.006137, allocations: 4 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.006168, allocations: 18.12 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.00617, allocations: 0 / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.597e-05/0.006216, allocations: 41.69 kB / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.006231, allocations: 4.75 kB / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.006238, allocations: 3.938 kB / 0.7329 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.006248, allocations: 5.406 kB / 0.7329 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.00631, allocations: 8.641 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006313, allocations: 0 / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.006332, allocations: 4 kB / 0.7329 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006335, allocations: 0.6562 kB / 0.7329 GB, free: 0.8047 MB / 0.698 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 5.959e-05/0.006395, allocations: 111.2 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.006407, allocations: 336 / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.006496, allocations: 61.88 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.0065, allocations: 4.875 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006502, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006506, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.006593, allocations: 66.42 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006594, allocations: 4.781 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.006625, allocations: 11.92 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.006633, allocations: 8.547 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.006636, allocations: 1.156 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.00664, allocations: 0 / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006642, allocations: 3.938 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006642, allocations: 0 / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.006725, allocations: 140.6 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.006733, allocations: 0 / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.006766, allocations: 9.484 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.006813, allocations: 15.92 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.006817, allocations: 4 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.415e-05/0.006832, allocations: 8.859 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006832, allocations: 1.031 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001345/0.006966, allocations: 15.94 kB / 0.7333 GB, free: 304 kB / 0.698 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.0001353/0.007101, allocations: 98.66 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.007163, allocations: 16.84 kB / 0.7334 GB, free: 176 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.007169, allocations: 7.984 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.007188, allocations: 16.78 kB / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007327, allocations: 9.219 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.007758, allocations: 116.8 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.007797, allocations: 60.06 kB / 0.7336 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.007819, allocations: 0.6562 kB / 0.7336 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.007864, allocations: 60.12 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.007864, allocations: 0.8438 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.002498/0.01036, allocations: 1.069 MB / 0.7347 GB, free: 14.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Binomial/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.024565590545535]