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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008221/0.008227, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001775/0.001776, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 71.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6243, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001854/0.6262, allocations: 0.6387 MB / 0.9502 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000419/0.6267, allocations: 111.1 kB / 0.9503 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.6267, allocations: 0 / 0.9503 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.6268, allocations: 3.938 kB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.6268, allocations: 0 / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.6271, allocations: 32.16 kB / 0.9504 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.6272, allocations: 59.56 kB / 0.9504 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.6273, allocations: 5.359 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.6273, allocations: 21.73 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.6274, allocations: 25.58 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.6274, allocations: 2.75 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.6275, allocations: 45.95 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.6276, allocations: 20.23 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.6276, allocations: 28.09 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.6278, allocations: 41.81 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6278, allocations: 0 / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6278, allocations: 1.375 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6278, allocations: 0 / 0.9506 GB, free: 8.43 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.0006425/0.6285, allocations: 379 kB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.6285, allocations: 9.625 kB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.6286, allocations: 6.438 kB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6287, allocations: 170.3 kB / 0.9511 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.629, allocations: 287.3 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.6291, allocations: 3.906 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.6294, allocations: 81.67 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6294, allocations: 5.25 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6295, allocations: 0 / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.6295, allocations: 1.031 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.6299, allocations: 135.9 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.6302, allocations: 183.2 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.6305, allocations: 95.38 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.6307, allocations: 42.61 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.6308, allocations: 9.203 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.6308, allocations: 32 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.6308, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006326/0.6315, allocations: 148.8 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6315, allocations: 61 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.949e-05/0.6316, allocations: 89.86 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6316, allocations: 29.7 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.6316, allocations: 82.05 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.6317, allocations: 34.67 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.6317, allocations: 30.2 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6319, allocations: 317.3 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.632, allocations: 29.39 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6321, allocations: 36.25 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.6324, allocations: 82.56 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6325, allocations: 0 / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003366/0.6328, allocations: 107.6 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.6328, allocations: 13.88 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6328, allocations: 0 / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6329, allocations: 5.547 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.633, allocations: 21.83 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.633, allocations: 0 / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.6331, allocations: 12.28 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.6331, allocations: 6.953 kB / 0.953 GB, free: 6.133 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 8.321e-05/0.6332, allocations: 113.4 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.6332, allocations: 5.875 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.6333, allocations: 21.64 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6333, allocations: 3.984 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.6333, allocations: 0.9375 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6333, allocations: 0 / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.6335, allocations: 183.9 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6335, allocations: 4 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.6336, allocations: 25.86 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6336, allocations: 9.172 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6336, allocations: 1.375 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6337, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6337, allocations: 1.594 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.634, allocations: 141 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.6341, allocations: 83.39 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.6341, allocations: 13.03 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.6341, allocations: 3.25 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.6342, allocations: 12.38 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6342, allocations: 3.344 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.6343, allocations: 79.22 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6343, allocations: 3.938 kB / 0.9537 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002537/0.6345, allocations: 21.78 kB / 0.9537 GB, free: 5.441 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.0002235/0.6347, allocations: 123.9 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.6351, allocations: 80.38 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6351, allocations: 0 / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6353, allocations: 54.33 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.6354, allocations: 6.344 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.6358, allocations: 197.7 kB / 0.9542 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.636, allocations: 0.6885 MB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.636, allocations: 18.36 kB / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.636, allocations: 0 / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.003032/0.6391, allocations: 1.313 MB / 0.9561 GB, free: 3.727 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/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