Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.001425/0.001425, allocations: 108 kB / 15.61 MB, free: 152 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.001451/0.001451, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.309/2.309, allocations: 390.3 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.586, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002549/0.5886, allocations: 1.524 MB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.589, allocations: 176 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.5891, allocations: 9.344 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.5891, allocations: 3.938 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.5891, allocations: 5.281 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.5894, allocations: 54.38 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.5895, allocations: 31.08 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.5896, allocations: 14.17 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.5896, allocations: 13.62 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.5897, allocations: 25.03 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.5897, allocations: 7.219 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.5898, allocations: 47.89 kB / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.5898, allocations: 5.875 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.5899, allocations: 26.75 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.59, allocations: 53.64 kB / 0.9517 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.59, allocations: 0 / 0.9517 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.59, allocations: 0 / 0.9517 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.59, allocations: 1.312 kB / 0.9517 GB, free: 7.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003821/0.5904, allocations: 357.4 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5904, allocations: 12.38 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.461e-05/0.5905, allocations: 31.91 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.5905, allocations: 7.312 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.5906, allocations: 174.6 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5906, allocations: 1.438 kB / 0.9522 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.5906, allocations: 6.812 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.5908, allocations: 60.52 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5908, allocations: 3.938 kB / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5908, allocations: 0 / 0.9523 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5908, allocations: 5.656 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.591, allocations: 43.36 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.5913, allocations: 282.3 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.5917, allocations: 63.75 kB / 0.9527 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.5918, allocations: 24.38 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.592, allocations: 168.7 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.592, allocations: 36.5 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.592, allocations: 0 / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003861/0.5924, allocations: 110 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.5924, allocations: 51.41 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.5925, allocations: 108 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.5925, allocations: 25.7 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5925, allocations: 90.36 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.5926, allocations: 9.016 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.5926, allocations: 16.94 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.5927, allocations: 316 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-05/0.5928, allocations: 26.81 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.5928, allocations: 18.89 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.593, allocations: 43.59 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.593, allocations: 0 / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002056/0.5932, allocations: 76.19 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.5933, allocations: 11.5 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5933, allocations: 0 / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5933, allocations: 1.031 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.5934, allocations: 11.77 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.5934, allocations: 0 / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.5935, allocations: 12.55 kB / 0.9538 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5935, allocations: 1.094 kB / 0.9538 GB, free: 5.535 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.981e-05/0.5935, allocations: 115.8 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.5936, allocations: 10.12 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.5938, allocations: 83.42 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5938, allocations: 1.438 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5938, allocations: 0 / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5938, allocations: 3.984 kB / 0.954 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.594, allocations: 174.7 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.594, allocations: 0 / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.5941, allocations: 11.14 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5941, allocations: 4 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5941, allocations: 1.344 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5941, allocations: 0 / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5941, allocations: 3.938 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.5943, allocations: 175.6 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.5943, allocations: 86.47 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.5944, allocations: 5.375 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.5945, allocations: 2.938 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.5945, allocations: 11.72 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5945, allocations: 1.156 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.5945, allocations: 85.7 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5946, allocations: 0 / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002413/0.5948, allocations: 21.91 kB / 0.9545 GB, free: 4.754 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004432/0.5952, allocations: 0.7252 MB / 0.9552 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5955, allocations: 45.67 kB / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5955, allocations: 0 / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.5956, allocations: 31.66 kB / 0.9553 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5959, allocations: 5.469 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.597, allocations: 1.286 MB / 0.9566 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.5971, allocations: 0.6864 MB / 0.9572 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.5971, allocations: 3.375 kB / 0.9573 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.5971, allocations: 15.03 kB / 0.9573 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5971, allocations: 0 / 0.9573 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.614, allocations: 1.897 MB / 0.9591 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.667, allocations: 7.078 kB / 0.9591 GB, free: 0.9922 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_9_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches