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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001204/0.001204, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.39/2.39, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 68.14 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5602, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001631/0.5618, allocations: 0.651 MB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.5622, allocations: 111.6 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.5622, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.5623, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.5623, allocations: 3.938 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.5626, allocations: 35.91 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.5627, allocations: 63.92 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.5627, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.5628, allocations: 19.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.5628, allocations: 23.95 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.5628, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.563, allocations: 51.95 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.563, allocations: 19.97 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.563, allocations: 23.86 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.5632, allocations: 67.83 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5632, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5632, allocations: 8 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5632, allocations: 0 / 1.018 GB, free: 1.645 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.0004492/0.5636, allocations: 375.5 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.5637, allocations: 8.031 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.5637, allocations: 38.75 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.5638, allocations: 4.938 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.5639, allocations: 166.6 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.5641, allocations: 285.6 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.5641, allocations: 12.31 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.5643, allocations: 77.95 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5644, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5644, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5644, allocations: 3.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.5647, allocations: 135.8 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.5649, allocations: 181.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5652, allocations: 94.47 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5653, allocations: 52.83 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.5653, allocations: 3.984 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.5654, allocations: 38.5 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.5654, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005014/0.5659, allocations: 145.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.5659, allocations: 55.41 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.495e-05/0.566, allocations: 93.86 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.566, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.566, allocations: 88.12 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5661, allocations: 31.47 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.5661, allocations: 29.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.5662, allocations: 318.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.5663, allocations: 31.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.5665, allocations: 28.42 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.5667, allocations: 80.97 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5667, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003141/0.5671, allocations: 113.5 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5671, allocations: 15.92 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5671, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.5671, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5673, allocations: 19.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.5673, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.5673, allocations: 7.906 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.5673, allocations: 7.984 kB / 1.02 GB, free: 14.82 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.204e-05/0.5674, allocations: 118.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.5674, allocations: 7.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.5675, allocations: 15.95 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5675, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5675, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5675, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.5676, allocations: 189.4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5676, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.5677, allocations: 27.97 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5678, allocations: 7.875 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5678, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5678, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5678, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.5681, allocations: 137.1 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.5682, allocations: 81.05 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5682, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.5682, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.5683, allocations: 23.89 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5683, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.5683, allocations: 75.28 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5683, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002114/0.5686, allocations: 27.94 kB / 1.021 GB, free: 14 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.0006147/0.5692, allocations: 0.6943 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.5695, allocations: 95.81 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5695, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.5697, allocations: 52.45 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.5698, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.5703, allocations: 214.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5705, allocations: 0.6846 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.5707, allocations: 43.95 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.5707, allocations: 19.42 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5707, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.5931, allocations: 1.896 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.5933, allocations: 203.7 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.191, allocations: 3.938 kB / 1.025 GB, free: 10.06 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