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: "" <> 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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001226/0.001226, allocations: 191.3 kB / 16.13 MB, free: 6.691 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.238/2.238, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6418, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001652/0.6435, allocations: 0.6452 MB / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.6439, allocations: 103.8 kB / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.6439, allocations: 0 / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.6439, allocations: 0 / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.6439, allocations: 0 / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.6442, allocations: 36.58 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.6443, allocations: 55.88 kB / 0.9499 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.6443, allocations: 1.125 kB / 0.9499 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.6444, allocations: 33.83 kB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.6444, allocations: 21.48 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.6444, allocations: 2.719 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.6446, allocations: 45.06 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.6446, allocations: 16.58 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.6446, allocations: 28.78 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.6448, allocations: 69.83 kB / 0.9501 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6448, allocations: 3.938 kB / 0.9501 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6448, allocations: 5.219 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6448, allocations: 7.875 kB / 0.9501 GB, free: 8.379 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.0003666/0.6451, allocations: 376.9 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6452, allocations: 9.25 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.6452, allocations: 37.78 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.6453, allocations: 6.219 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.11e-05/0.6453, allocations: 163.7 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.6455, allocations: 283.6 kB / 0.9509 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.6455, allocations: 7.188 kB / 0.9509 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.6457, allocations: 82.08 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6457, allocations: 3.938 kB / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.6457, allocations: 0 / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6457, allocations: 2.688 kB / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.646, allocations: 134.9 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.6462, allocations: 187 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6464, allocations: 95.17 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6466, allocations: 42.84 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.6466, allocations: 5.359 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.6466, allocations: 43.8 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.6466, allocations: 0 / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004426/0.6471, allocations: 140.1 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.6471, allocations: 52.78 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.643e-05/0.6471, allocations: 99.16 kB / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.6471, allocations: 29.7 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/0.6471, allocations: 80.14 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.6472, allocations: 32.97 kB / 0.9519 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.6472, allocations: 29.95 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.6473, allocations: 316.2 kB / 0.9523 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.6474, allocations: 35.31 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6475, allocations: 27.89 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.6478, allocations: 81.97 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6478, allocations: 4 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002919/0.6481, allocations: 116.6 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6481, allocations: 8.562 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6481, allocations: 0 / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6481, allocations: 1.406 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.6483, allocations: 20.73 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.6483, allocations: 1.375 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.6483, allocations: 11.58 kB / 0.9526 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6483, allocations: 6.875 kB / 0.9526 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.075e-05/0.6484, allocations: 125.6 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.6484, allocations: 10.61 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.6485, allocations: 11.97 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6485, allocations: 1.438 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6485, allocations: 1.156 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6485, allocations: 3.984 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.6486, allocations: 176.5 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6486, allocations: 0 / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6487, allocations: 24.94 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6487, allocations: 9.406 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.6487, allocations: 5.688 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6487, allocations: 0 / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6487, allocations: 0.8438 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.649, allocations: 145.9 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.649, allocations: 82.42 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6491, allocations: 5.469 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.6491, allocations: 2.469 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.6492, allocations: 17.47 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.6492, allocations: 7.438 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.939e-06/0.6492, allocations: 75.28 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6492, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002123/0.6494, allocations: 16.91 kB / 0.9533 GB, free: 5.367 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.0005149/0.6499, allocations: 0.713 MB / 0.954 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.6502, allocations: 80.38 kB / 0.954 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6503, allocations: 0 / 0.954 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.6504, allocations: 54.39 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.6506, allocations: 7.484 kB / 0.9541 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.651, allocations: 208.9 kB / 0.9543 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.6511, allocations: 0.6838 MB / 0.955 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.6512, allocations: 43.27 kB / 0.955 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.6513, allocations: 20.89 kB / 0.955 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6513, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.6618, allocations: 1.848 MB / 0.9568 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.662, allocations: 206.8 kB / 0.957 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.373, allocations: 3.938 kB / 0.957 GB, free: 2.516 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