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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001686/0.001686, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.57 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.115/2.115, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.534, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001544/0.5356, allocations: 0.6343 MB / 0.9499 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000303/0.5359, allocations: 108.3 kB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.536, allocations: 0 / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.536, allocations: 0 / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-06/0.536, allocations: 4 kB / 0.95 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.5363, allocations: 41.64 kB / 0.95 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.5364, allocations: 59.56 kB / 0.9501 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.5365, allocations: 1.375 kB / 0.9501 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.5365, allocations: 25.67 kB / 0.9501 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.5365, allocations: 28.73 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.5366, allocations: 2.75 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.5367, allocations: 43.08 kB / 0.9502 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.5367, allocations: 20.66 kB / 0.9502 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.5367, allocations: 19.8 kB / 0.9502 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.5369, allocations: 78.92 kB / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5369, allocations: 0 / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5369, allocations: 0 / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5369, allocations: 3.938 kB / 0.9503 GB, free: 8.387 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.0003814/0.5373, allocations: 375.5 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5373, allocations: 10.16 kB / 0.9507 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.5373, allocations: 38.31 kB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.5374, allocations: 9.359 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.148e-05/0.5374, allocations: 167.9 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.5376, allocations: 283.6 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.5376, allocations: 10.84 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.5379, allocations: 82.16 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5379, allocations: 0 / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5379, allocations: 1.125 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5379, allocations: 1.344 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.5382, allocations: 131.6 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.5384, allocations: 187.5 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.5386, allocations: 102.5 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.5388, allocations: 43.14 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.5388, allocations: 1.562 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.5388, allocations: 39.78 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5388, allocations: 0 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004835/0.5393, allocations: 144 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.5393, allocations: 56.75 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.528e-05/0.5394, allocations: 97.8 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.5394, allocations: 27.11 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-06/0.5394, allocations: 80.14 kB / 0.9521 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.5394, allocations: 41 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.5395, allocations: 28.98 kB / 0.9522 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.5395, allocations: 312.4 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.5396, allocations: 35.44 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.5398, allocations: 35.75 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.54, allocations: 77.66 kB / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.54, allocations: 0 / 0.9526 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.5404, allocations: 116.4 kB / 0.9527 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5404, allocations: 9.531 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5404, allocations: 0 / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5404, allocations: 1.031 kB / 0.9527 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5405, allocations: 25.59 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5406, allocations: 0 / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.5406, allocations: 8.5 kB / 0.9528 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5406, allocations: 2.094 kB / 0.9528 GB, free: 6.051 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 5.414e-05/0.5407, allocations: 122.2 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.5407, allocations: 6.062 kB / 0.9529 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.5407, allocations: 16.89 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5408, allocations: 1.031 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5408, allocations: 0.9375 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5408, allocations: 0 / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.734e-05/0.5409, allocations: 180.3 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5409, allocations: 0 / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.541, allocations: 29.36 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.541, allocations: 5.219 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.541, allocations: 9.359 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.541, allocations: 1.219 kB / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.541, allocations: 0 / 0.9531 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.5413, allocations: 137.8 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.5414, allocations: 83.23 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5414, allocations: 13.3 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.5414, allocations: 7.156 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.5415, allocations: 8.766 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5415, allocations: 14.8 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.022e-05/0.5415, allocations: 75.28 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5415, allocations: 3.938 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002087/0.5417, allocations: 17.38 kB / 0.9535 GB, free: 5.359 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.0005243/0.5423, allocations: 0.7011 MB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.5426, allocations: 100.4 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5426, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.5428, allocations: 50.97 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.5429, allocations: 7 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.5434, allocations: 214.4 kB / 0.9545 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.5435, allocations: 0.6917 MB / 0.9552 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.5436, allocations: 42.36 kB / 0.9552 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.5437, allocations: 20.61 kB / 0.9552 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5437, allocations: 1.469 kB / 0.9552 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.5544, allocations: 1.88 MB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.5545, allocations: 209.9 kB / 0.9573 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.092, allocations: 0 / 0.9573 GB, free: 2.496 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > 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