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.001512/0.001512, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002742/0.002742, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.612/2.612, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8515, allocations: 140.4 MB / 0.9489 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001855/0.8534, allocations: 0.6493 MB / 0.9496 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004364/0.8539, allocations: 110.4 kB / 0.9497 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.8539, allocations: 1.281 kB / 0.9497 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.854, allocations: 0 / 0.9497 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.854, allocations: 0 / 0.9497 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.8543, allocations: 32.16 kB / 0.9497 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.8544, allocations: 67.23 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.8545, allocations: 2.75 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.8545, allocations: 20.36 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.8546, allocations: 25.58 kB / 0.9498 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.8546, allocations: 6.75 kB / 0.9498 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.8547, allocations: 41.97 kB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.8548, allocations: 20.22 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.8549, allocations: 28.09 kB / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.855, allocations: 65.97 kB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.855, allocations: 1.375 kB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.855, allocations: 0 / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.855, allocations: 0 / 0.95 GB, free: 8.531 MB / 0.7169 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.0005404/0.8556, allocations: 376.9 kB / 0.9503 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.8556, allocations: 13.62 kB / 0.9503 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.8557, allocations: 6.438 kB / 0.9503 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.909e-05/0.8558, allocations: 170.3 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.8561, allocations: 283.3 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.8561, allocations: 8.5 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.8564, allocations: 73.58 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8564, allocations: 3.938 kB / 0.9509 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.8564, allocations: 5.359 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.8564, allocations: 1.375 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.8568, allocations: 144 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.857, allocations: 182.8 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.8573, allocations: 95.02 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.8574, allocations: 42.78 kB / 0.9513 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.8575, allocations: 9.156 kB / 0.9513 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.8575, allocations: 31.75 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.8575, allocations: 0 / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005348/0.8581, allocations: 151.5 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8581, allocations: 61.97 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.64e-05/0.8581, allocations: 89.86 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.8581, allocations: 25.7 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.8582, allocations: 81.23 kB / 0.9517 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.8582, allocations: 36 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.8583, allocations: 34.53 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.8583, allocations: 316.2 kB / 0.9521 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8585, allocations: 34.28 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.8586, allocations: 31.56 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.8589, allocations: 70.17 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8589, allocations: 0 / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003023/0.8592, allocations: 116 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8592, allocations: 10.22 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.8592, allocations: 3.938 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.8592, allocations: 0 / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.8594, allocations: 25.61 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.8594, allocations: 1.062 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.8594, allocations: 12.02 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.8595, allocations: 2.906 kB / 0.9524 GB, free: 6.234 MB / 0.7169 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 6.086e-05/0.8595, allocations: 117.8 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.8595, allocations: 6.719 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.8596, allocations: 15.97 kB / 0.9525 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8596, allocations: 1.25 kB / 0.9525 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8596, allocations: 4 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8596, allocations: 1.344 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.8597, allocations: 180.3 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8597, allocations: 0 / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.8598, allocations: 28.34 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8598, allocations: 5.25 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.8599, allocations: 5.375 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8599, allocations: 1.344 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8599, allocations: 0 / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.8602, allocations: 146.2 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.8602, allocations: 79.55 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.8603, allocations: 9.156 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.8603, allocations: 6.453 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.8604, allocations: 9.984 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.8604, allocations: 2.875 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.8604, allocations: 83.22 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8604, allocations: 0 / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002417/0.8607, allocations: 20.48 kB / 0.9531 GB, free: 5.551 MB / 0.7169 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.0002319/0.8609, allocations: 125.6 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.8613, allocations: 87.94 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8613, allocations: 0 / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.8615, allocations: 49.78 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.8616, allocations: 9.094 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.8621, allocations: 177 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.8622, allocations: 0.6831 MB / 0.9542 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.8624, allocations: 43.77 kB / 0.9542 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.8625, allocations: 16.8 kB / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8625, allocations: 0 / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003232/0.8657, allocations: 0.9729 MB / 0.9552 GB, free: 4 MB / 0.7169 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/jenkins/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