Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009905/0.0009943, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 13.66 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3363, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006822/0.3371, allocations: 318.9 kB / 1.06 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004044/0.3375, allocations: 115.7 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.3375, allocations: 3.938 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.3376, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-06/0.3376, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3379, allocations: 23.95 kB / 1.06 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.338, allocations: 59.94 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.338, allocations: 3.984 kB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.3381, allocations: 27.98 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.992e-05/0.3381, allocations: 23.91 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3381, allocations: 4 kB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3383, allocations: 47.95 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.3383, allocations: 19.97 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.3384, allocations: 57.55 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3385, allocations: 31.95 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3385, allocations: 0 / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3385, allocations: 0 / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3385, allocations: 0 / 1.06 GB, free: 4.262 MB / 0.8106 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.0004293/0.339, allocations: 363.5 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.339, allocations: 15.97 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3391, allocations: 4.938 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.3392, allocations: 164.6 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.3394, allocations: 281.6 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3394, allocations: 384 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.3397, allocations: 94.05 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3397, allocations: 3.938 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3397, allocations: 4 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3397, allocations: 3.938 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3401, allocations: 135.8 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.3403, allocations: 181.5 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3406, allocations: 94.52 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3407, allocations: 44.83 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3408, allocations: 4 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3408, allocations: 38.5 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3408, allocations: 4 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005284/0.3413, allocations: 145.8 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3414, allocations: 55.41 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.3414, allocations: 89.86 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3414, allocations: 29.7 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.3415, allocations: 80.14 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.3415, allocations: 35.45 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.3416, allocations: 17.72 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3417, allocations: 318.8 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3418, allocations: 31.98 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.342, allocations: 31.97 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3422, allocations: 80.69 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3422, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003274/0.3426, allocations: 110.3 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3426, allocations: 7.938 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3426, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3426, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3428, allocations: 31.97 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3428, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.3429, allocations: 15.78 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3429, allocations: 7.984 kB / 1.062 GB, free: 1.5 MB / 0.8106 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 8.206e-05/0.343, allocations: 113.8 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.343, allocations: 3.938 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.343, allocations: 11.97 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.343, allocations: 4 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3431, allocations: 7.984 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3431, allocations: 0 / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3432, allocations: 181.5 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3432, allocations: 4 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3433, allocations: 19.98 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3433, allocations: 3.938 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3434, allocations: 11.98 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3434, allocations: 3.938 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3434, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3437, allocations: 145 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.3438, allocations: 81.02 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3438, allocations: 11.94 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.3439, allocations: 4 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.3439, allocations: 7.984 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3439, allocations: 7.984 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.344, allocations: 79.28 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.344, allocations: 3.938 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002291/0.3442, allocations: 24 kB / 1.063 GB, free: 0.6875 MB / 0.8106 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.0001941/0.3444, allocations: 119.2 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3448, allocations: 83.88 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3448, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.3449, allocations: 51.91 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3451, allocations: 5.969 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.3455, allocations: 204.3 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3458, allocations: 0.6848 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.3458, allocations: 19.42 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3458, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.003102/0.3489, allocations: 1.311 MB / 1.066 GB, free: 14.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches