Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_10_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.01017/0.01017, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.002567/0.002567, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.91 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002808/0.3222, allocations: 1.531 MB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000489/0.3227, allocations: 180.3 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.3228, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3228, allocations: 3.938 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.3229, allocations: 4 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3232, allocations: 51.81 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.3233, allocations: 39.86 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3235, allocations: 19.97 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.3235, allocations: 15.94 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.3236, allocations: 15.92 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3236, allocations: 4 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3237, allocations: 55.88 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.3238, allocations: 4 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.3238, allocations: 19.92 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.324, allocations: 68 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.324, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.324, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3241, allocations: 0 / 1.168 GB, free: 5.383 MB / 0.92 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.0006722/0.3247, allocations: 363.3 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3248, allocations: 8.031 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.3248, allocations: 38.73 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3249, allocations: 0.9375 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.3251, allocations: 164.4 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3251, allocations: 4.375 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3251, allocations: 8.312 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3253, allocations: 62.22 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3254, allocations: 7.938 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3254, allocations: 0 / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3254, allocations: 0 / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3256, allocations: 47.94 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3262, allocations: 280.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.3266, allocations: 66.47 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3267, allocations: 24.91 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.327, allocations: 166.2 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3271, allocations: 38.5 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3271, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004572/0.3275, allocations: 105.5 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3276, allocations: 55.39 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3278, allocations: 105.9 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3279, allocations: 25.7 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.3279, allocations: 88.12 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.328, allocations: 3.953 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.328, allocations: 17.72 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3282, allocations: 326.8 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.3283, allocations: 15.98 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.3284, allocations: 23.97 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3286, allocations: 40.83 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3286, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002384/0.3288, allocations: 89.53 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3288, allocations: 4 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3289, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3289, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.329, allocations: 11.98 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.329, allocations: 3.938 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.329, allocations: 4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3291, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 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 0.0001026/0.3292, allocations: 125.8 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.3292, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3295, allocations: 89.48 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3295, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3295, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3295, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.3297, allocations: 165.6 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3298, allocations: 0 / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.3298, allocations: 15.98 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3298, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3299, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3299, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3299, allocations: 3.938 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3302, allocations: 179.4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.3302, allocations: 81.11 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3303, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.3304, allocations: 7.984 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3304, allocations: 11.94 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3304, allocations: 432 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.3305, allocations: 95.56 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3305, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002522/0.3308, allocations: 15.94 kB / 1.171 GB, free: 2.066 MB / 0.92 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.0007469/0.3315, allocations: 0.7358 MB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3318, allocations: 43.89 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3318, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.3319, allocations: 27.98 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3322, allocations: 13.86 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3339, allocations: 1.29 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3343, allocations: 0.6768 MB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.3343, allocations: 8.125 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3344, allocations: 19.42 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3344, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.3577, allocations: 1.922 MB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.457, allocations: 8.047 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches