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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 63.91 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9875/0.9897, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001891/0.9916, allocations: 0.6 MB / 1.273 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.992, allocations: 102.6 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.992, allocations: 0 / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.9921, allocations: 9.594 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.9921, allocations: 0 / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.9925, allocations: 38 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.9926, allocations: 68.8 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.9927, allocations: 2.297 kB / 1.273 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.9927, allocations: 22.39 kB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.9928, allocations: 28.83 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.9928, allocations: 2.562 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.9929, allocations: 46.47 kB / 1.273 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.993, allocations: 21.7 kB / 1.273 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.993, allocations: 22.08 kB / 1.273 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.9932, allocations: 76.31 kB / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9932, allocations: 1.531 kB / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9932, allocations: 0 / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9932, allocations: 0 / 1.273 GB, free: 7.379 MB / 0.9981 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.0005001/0.9937, allocations: 380.7 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9938, allocations: 9.5 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.9938, allocations: 10.14 kB / 1.273 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.9939, allocations: 162.5 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.9941, allocations: 285.8 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.9941, allocations: 2.875 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.9944, allocations: 77.89 kB / 1.274 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9944, allocations: 3.938 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.9944, allocations: 12.84 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9944, allocations: 0.9062 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.9948, allocations: 137.3 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.995, allocations: 175.4 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.9952, allocations: 90.52 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.9954, allocations: 38.77 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.9954, allocations: 5.75 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.9954, allocations: 32.19 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.9954, allocations: 4.969 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005487/0.996, allocations: 152.4 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.996, allocations: 53.41 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.26e-05/0.996, allocations: 97.81 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.996, allocations: 26.7 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.124e-05/0.996, allocations: 84.08 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.9961, allocations: 33.95 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.9961, allocations: 31.77 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.9962, allocations: 317.5 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.9963, allocations: 33.53 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.9965, allocations: 31.45 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.9967, allocations: 72.41 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9967, allocations: 4.906 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003168/0.9971, allocations: 108.7 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9971, allocations: 9 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9971, allocations: 1.672 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.9971, allocations: 4.844 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.9973, allocations: 26.8 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9973, allocations: 1.312 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.9973, allocations: 16.28 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9973, allocations: 2.375 kB / 1.275 GB, free: 5.285 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: 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 5.88e-05/0.9974, allocations: 117.3 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.9974, allocations: 6.031 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.9975, allocations: 12.69 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9975, allocations: 9.547 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9975, allocations: 0 / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9975, allocations: 0.75 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.9976, allocations: 180.6 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9976, allocations: 0 / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.9977, allocations: 32.31 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.9977, allocations: 4.781 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.9977, allocations: 7.125 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9977, allocations: 0 / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9977, allocations: 0.875 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.9981, allocations: 146 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.9981, allocations: 79.14 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.9981, allocations: 8.594 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.9982, allocations: 3.656 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.9982, allocations: 10.55 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9982, allocations: 5.062 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.18e-05/0.9983, allocations: 75.28 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/0.9983, allocations: 0 / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00024/0.9985, allocations: 29.95 kB / 1.276 GB, free: 4.645 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: 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.0001947/0.9987, allocations: 126.2 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.999, allocations: 77.89 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9991, allocations: 0.75 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.9992, allocations: 48.94 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.9994, allocations: 6.5 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.9997, allocations: 187.9 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.9999, allocations: 0.6877 MB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000172/1, allocations: 37.91 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/1, allocations: 16.72 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1, allocations: 0 / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of Templates: time 0.004061/1.004, allocations: 1.047 MB / 1.278 GB, free: 3.555 MB / 0.9981 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/jenkins/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: 8.87363382987678]