Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_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.001301/0.001301, 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.001375/0.001375, allocations: 191.8 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.364/2.364, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.479, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001531/0.4806, allocations: 0.5779 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.4809, allocations: 99.66 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.4809, allocations: 7.938 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.4809, allocations: 3.938 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-06/0.4809, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.4812, allocations: 39.88 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.4813, allocations: 63.92 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.4814, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.4814, allocations: 23.98 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.4815, allocations: 23.95 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.4815, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4816, allocations: 43.97 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.4816, allocations: 19.97 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.4817, allocations: 27.84 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.4818, allocations: 75.78 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4818, allocations: 7.984 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4818, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.4818, allocations: 0 / 1.018 GB, free: 1.445 MB / 0.7637 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.0004039/0.4822, allocations: 367.5 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.4823, allocations: 8.031 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.4823, allocations: 42.73 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.4823, allocations: 4.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.4824, allocations: 174.6 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.4826, allocations: 277.6 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4827, allocations: 8.375 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.4829, allocations: 85.94 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4829, allocations: 3.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4829, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4829, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.4832, allocations: 131.8 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.4834, allocations: 181.5 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.4837, allocations: 102.5 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4838, allocations: 40.83 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4838, allocations: 11.98 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4839, allocations: 34.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.4839, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004761/0.4843, allocations: 149.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4844, allocations: 55.34 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.11e-05/0.4844, allocations: 89.86 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4844, allocations: 33.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.4845, allocations: 80.14 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.4845, allocations: 35.45 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.4846, allocations: 33.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.4847, allocations: 310.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4848, allocations: 31.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4849, allocations: 31.97 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.4852, allocations: 84.75 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4852, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002992/0.4855, allocations: 109.6 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4855, allocations: 11.88 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4855, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4855, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4857, allocations: 31.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4857, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.4857, allocations: 7.906 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4858, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 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.119e-05/0.4858, allocations: 117.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.4859, allocations: 7.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.4859, allocations: 11.97 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4859, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4859, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4859, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.486, allocations: 181.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.486, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4862, allocations: 27.92 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4862, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4862, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4862, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4862, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4865, allocations: 137.1 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.4866, allocations: 85.03 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4866, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.4866, allocations: 8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4867, allocations: 11.98 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4867, allocations: 3.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.4867, allocations: 79.22 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.362e-06/0.4867, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002056/0.487, allocations: 31.94 kB / 1.022 GB, free: 13.81 MB / 0.7794 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.0005981/0.4876, allocations: 0.6991 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.4879, allocations: 99.86 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4879, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.488, allocations: 47.91 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4882, allocations: 8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.4886, allocations: 202.6 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.4888, allocations: 0.6807 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.489, allocations: 39.95 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.489, allocations: 23.42 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.489, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/0.6107, allocations: 1.985 MB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.22, allocations: 16.7 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches