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.006823/0.006823, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001492/0.001492, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.533/2.533, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 72.69 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002028/0.3305, allocations: 0.5805 MB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.331, allocations: 111.9 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.3311, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.3311, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.3312, allocations: 0 / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3316, allocations: 43.89 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3318, allocations: 59.94 kB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.3318, allocations: 7.984 kB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.3319, allocations: 19.98 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.332, allocations: 31.95 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.332, allocations: 0 / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3321, allocations: 43.97 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.3322, allocations: 27.89 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.3322, allocations: 23.92 kB / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3324, allocations: 71.81 kB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3324, allocations: 0 / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3325, allocations: 3.938 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3325, allocations: 0 / 1.089 GB, free: 0.9414 MB / 0.8419 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.000591/0.3331, allocations: 367.6 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3331, allocations: 16.03 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.3332, allocations: 42.73 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.3332, allocations: 8.844 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3333, allocations: 171.1 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.3337, allocations: 277.6 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3337, allocations: 4.375 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.334, allocations: 85.88 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.334, allocations: 0 / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.334, allocations: 8 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.334, allocations: 4 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.3344, allocations: 127.8 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.3346, allocations: 174.2 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.335, allocations: 106.4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3351, allocations: 40.83 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3352, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3352, allocations: 42.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.3352, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006113/0.3358, allocations: 149.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3359, allocations: 55.41 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.265e-05/0.3359, allocations: 89.86 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.336, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.336, allocations: 80.14 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.3361, allocations: 35.73 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.3362, allocations: 29.7 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3363, allocations: 318.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3365, allocations: 31.97 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3367, allocations: 31.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.337, allocations: 76.75 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.337, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003516/0.3373, allocations: 113.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3374, allocations: 13.81 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3374, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3374, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3376, allocations: 23.97 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3376, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.3377, allocations: 7.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.3377, allocations: 15.92 kB / 1.091 GB, free: 14.12 MB / 0.8575 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 0.0001198/0.3379, allocations: 109.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3379, allocations: 11.94 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.338, allocations: 7.969 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.338, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.338, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.338, allocations: 7.922 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3382, allocations: 185.5 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3382, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3383, allocations: 23.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3383, allocations: 7.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3384, allocations: 7.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3384, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3384, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.3388, allocations: 137.8 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3388, allocations: 92.88 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3389, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.3389, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.339, allocations: 19.91 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.339, allocations: 11.92 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.3391, allocations: 75.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002395/0.3393, allocations: 24 kB / 1.092 GB, free: 13.3 MB / 0.8575 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.0008492/0.3402, allocations: 0.6905 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.3406, allocations: 91.81 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3406, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3407, allocations: 51.91 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3409, allocations: 4 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.3415, allocations: 204.5 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3418, allocations: 0.6846 MB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.342, allocations: 35.97 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.3421, allocations: 19.42 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3421, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.3629, allocations: 2.035 MB / 1.095 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.901, allocations: 1.875 kB / 1.095 GB, free: 9.484 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 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.csv","/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