Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_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.001129/0.001129, allocations: 108 kB / 15.6 MB, free: 132 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.001167/0.001167, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 72.27 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3022, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003092/0.3054, allocations: 1.537 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005584/0.3059, allocations: 179.4 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.306, allocations: 4 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.3061, allocations: 3.938 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.3062, allocations: 0 / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.3066, allocations: 55.81 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/0.3067, allocations: 31.92 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3068, allocations: 15.98 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.3069, allocations: 15.92 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.3069, allocations: 27.91 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.307, allocations: 0 / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3071, allocations: 43.97 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.3072, allocations: 11.98 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.3072, allocations: 15.86 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3074, allocations: 63.84 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3074, allocations: 4 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3074, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3074, allocations: 0 / 1.055 GB, free: 6.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005421/0.308, allocations: 355.7 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.308, allocations: 8.625 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3081, allocations: 42.73 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.3081, allocations: 0.9375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3083, allocations: 176.2 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.3083, allocations: 4.312 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3083, allocations: 4.375 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3086, allocations: 66.16 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3086, allocations: 3.938 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3086, allocations: 4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3086, allocations: 4 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3088, allocations: 43.95 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.3093, allocations: 276.8 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.3097, allocations: 66.47 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3098, allocations: 24.91 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.31, allocations: 170.2 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.31, allocations: 30.56 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.31, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003882/0.3104, allocations: 97.55 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3105, allocations: 55.34 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.3106, allocations: 113.8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3106, allocations: 25.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.3106, allocations: 88.12 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3107, allocations: 11.91 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3107, allocations: 13.72 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.3108, allocations: 326.8 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.3109, allocations: 15.98 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.311, allocations: 15.98 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3112, allocations: 48.81 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3112, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.3114, allocations: 81.59 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3114, allocations: 9.078 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3114, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3114, allocations: 336 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.3115, allocations: 8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3115, allocations: 3.984 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.3116, allocations: 7.906 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3116, allocations: 4 kB / 1.057 GB, free: 3.824 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: 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 7.679e-05/0.3117, allocations: 115.3 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3117, allocations: 19.91 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.312, allocations: 77.55 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.312, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.312, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3121, allocations: 3.938 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3122, allocations: 169.6 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3122, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.3123, allocations: 19.92 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3123, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3123, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3123, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3124, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3126, allocations: 175.3 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.3127, allocations: 81.11 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3127, allocations: 4 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.3128, allocations: 11.98 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.3129, allocations: 0 / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3129, allocations: 4 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.3129, allocations: 87.58 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.794e-06/0.3129, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002658/0.3132, allocations: 27.88 kB / 1.058 GB, free: 2.934 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: 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.0005987/0.3138, allocations: 0.7202 MB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3141, allocations: 43.95 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3141, allocations: 0 / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3142, allocations: 31.92 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3145, allocations: 7.984 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.316, allocations: 1.292 MB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3162, allocations: 0.6846 MB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.3163, allocations: 4 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3163, allocations: 15.42 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3163, allocations: 4 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.336, allocations: 1.904 MB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.643, allocations: 5.844 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches