Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_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.00139/0.00139, 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.001193/0.001193, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 70.52 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2488, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001696/0.2506, allocations: 0.5831 MB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.251, allocations: 119.3 kB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.251, allocations: 0 / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.251, allocations: 3.984 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.251, allocations: 0 / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2514, allocations: 35.91 kB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2515, allocations: 63.92 kB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.2515, allocations: 8 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.2516, allocations: 19.98 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.2516, allocations: 27.95 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2516, allocations: 4 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2518, allocations: 39.97 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.2518, allocations: 23.95 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.2518, allocations: 23.86 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.252, allocations: 71.83 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.252, allocations: 0 / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.252, allocations: 0 / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.252, allocations: 0 / 1.065 GB, free: 13.44 MB / 0.8262 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.0004312/0.2524, allocations: 371.6 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2525, allocations: 8.031 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.2525, allocations: 46.73 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.2526, allocations: 8.844 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.2527, allocations: 172.5 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.2529, allocations: 273.6 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2529, allocations: 12.36 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2532, allocations: 81.89 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2532, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2532, allocations: 8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2532, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.2535, allocations: 131.8 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.2537, allocations: 181.6 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.254, allocations: 94.47 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.2541, allocations: 40.83 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2542, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2542, allocations: 38.5 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.2542, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005273/0.2547, allocations: 153.8 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.2548, allocations: 55.34 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.459e-05/0.2548, allocations: 93.77 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2548, allocations: 25.7 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.2549, allocations: 80.14 kB / 1.066 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.2549, allocations: 35.55 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.255, allocations: 33.7 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.2551, allocations: 314.8 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.2552, allocations: 31.98 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2553, allocations: 31.97 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.2556, allocations: 77.41 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2556, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003278/0.2559, allocations: 121.4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.256, allocations: 11.94 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.256, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.256, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2561, allocations: 27.97 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2562, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.2562, allocations: 7.938 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2562, allocations: 11.98 kB / 1.067 GB, free: 10.61 MB / 0.8262 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 7.681e-05/0.2563, allocations: 113.8 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.2563, allocations: 3.938 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.2564, allocations: 11.97 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2564, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2564, allocations: 3.984 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2564, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2565, allocations: 181.5 kB / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2565, allocations: 4 kB / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.2567, allocations: 27.92 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2567, allocations: 3.938 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2567, allocations: 7.984 kB / 1.067 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2567, allocations: 4 kB / 1.067 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2567, allocations: 7.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.2571, allocations: 137.1 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2571, allocations: 88.89 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2571, allocations: 4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.2572, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.2572, allocations: 15.92 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2573, allocations: 7.984 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.2573, allocations: 83.22 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2573, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002218/0.2575, allocations: 20 kB / 1.068 GB, free: 9.797 MB / 0.8262 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.0006334/0.2582, allocations: 0.6943 MB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.2585, allocations: 103.8 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2585, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2587, allocations: 47.91 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2588, allocations: 5.562 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.2593, allocations: 206.4 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2595, allocations: 0.6807 MB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.2597, allocations: 39.95 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.2597, allocations: 27.42 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2597, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2772, allocations: 1.988 MB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.263, allocations: 9 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches