Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 105 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.00221, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.52 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3051, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.307, allocations: 0.5863 MB / 0.9508 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.3074, allocations: 103.7 kB / 0.9509 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.3074, allocations: 4 kB / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.3074, allocations: 0 / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.3074, allocations: 0 / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3078, allocations: 39.89 kB / 0.951 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3079, allocations: 67.91 kB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.308, allocations: 0 / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.308, allocations: 27.92 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.3081, allocations: 19.97 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3081, allocations: 4 kB / 0.9511 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3082, allocations: 43.95 kB / 0.9511 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.3083, allocations: 27.91 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.3083, allocations: 23.91 kB / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3085, allocations: 75.78 kB / 0.9513 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3085, allocations: 3.938 kB / 0.9513 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3085, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3085, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7325 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.0005067/0.309, allocations: 375.5 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3091, allocations: 8.031 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.3091, allocations: 4.938 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.3092, allocations: 172.6 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.3095, allocations: 281.6 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3095, allocations: 4.375 kB / 0.9521 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3098, allocations: 74.2 kB / 0.9521 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3098, allocations: 3.938 kB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3098, allocations: 4 kB / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3098, allocations: 0 / 0.9522 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3102, allocations: 143.7 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3104, allocations: 181.5 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3107, allocations: 98.5 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3108, allocations: 36.84 kB / 0.9526 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3109, allocations: 7.984 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3109, allocations: 34.55 kB / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.3109, allocations: 0 / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000529/0.3114, allocations: 149.8 kB / 0.9528 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3115, allocations: 59.34 kB / 0.9528 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.3115, allocations: 93.84 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3115, allocations: 25.7 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.3116, allocations: 80.14 kB / 0.953 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.3116, allocations: 39.47 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.3117, allocations: 29.69 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3118, allocations: 314.8 kB / 0.9534 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3119, allocations: 31.97 kB / 0.9534 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3121, allocations: 31.98 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3124, allocations: 80.75 kB / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3124, allocations: 0 / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003183/0.3127, allocations: 118.2 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3127, allocations: 7.938 kB / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3127, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3127, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3129, allocations: 27.92 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3129, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.313, allocations: 23.83 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.313, allocations: 4 kB / 0.9537 GB, free: 5.031 MB / 0.7325 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 9.424e-05/0.3131, allocations: 121.8 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.3131, allocations: 3.938 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.3132, allocations: 7.969 kB / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3132, allocations: 4 kB / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3132, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3132, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3133, allocations: 177.5 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3133, allocations: 8 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3135, allocations: 27.97 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3135, allocations: 3.938 kB / 0.954 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3135, allocations: 0 / 0.954 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3135, allocations: 4 kB / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3135, allocations: 0 / 0.954 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.3139, allocations: 149 kB / 0.9542 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.3139, allocations: 81.11 kB / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3139, allocations: 7.938 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.314, allocations: 4 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.314, allocations: 15.97 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3141, allocations: 4 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.3141, allocations: 77.39 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002238/0.3143, allocations: 20 kB / 0.9544 GB, free: 4.23 MB / 0.7325 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.0001909/0.3145, allocations: 123.2 kB / 0.9545 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.3149, allocations: 103.8 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3149, allocations: 0 / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3151, allocations: 51.91 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3152, allocations: 5.375 kB / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3156, allocations: 190.6 kB / 0.9548 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3159, allocations: 0.6844 MB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.316, allocations: 19.42 kB / 0.9555 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.316, allocations: 0 / 0.9555 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.002823/0.3188, allocations: 1.315 MB / 0.9568 GB, free: 1.68 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches