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.001797/0.001797, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002487/0.002487, allocations: 191 kB / 16.25 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 2.515/2.515, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.251/4.251, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003286/0.003286, allocations: 69.88 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5434, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00376/0.5473, allocations: 0.6523 MB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000722/0.548, allocations: 107.6 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.5481, allocations: 4 kB / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.5482, allocations: 0 / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.468e-06/0.5482, allocations: 3.938 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.5488, allocations: 31.97 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.549, allocations: 63.92 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.426e-05/0.5491, allocations: 4 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.5492, allocations: 23.98 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.5492, allocations: 23.95 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.5493, allocations: 4 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.5495, allocations: 43.97 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.5496, allocations: 27.89 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.5497, allocations: 23.92 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.5499, allocations: 67.84 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5499, allocations: 0 / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.564e-06/0.5499, allocations: 3.938 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.5499, allocations: 0 / 1.053 GB, free: 7.52 MB / 0.8106 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.0008744/0.5508, allocations: 371.5 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.652e-05/0.5509, allocations: 12.62 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.551, allocations: 42.75 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.5511, allocations: 4.938 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.5513, allocations: 172.5 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004758/0.5518, allocations: 281.6 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.5518, allocations: 384 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.5523, allocations: 89.88 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5523, allocations: 0 / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5523, allocations: 4 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5523, allocations: 0 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.5529, allocations: 131.8 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.5532, allocations: 181.5 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.5537, allocations: 98.52 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.5539, allocations: 40.83 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.554, allocations: 11.97 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.554, allocations: 38.5 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 2.555e-06/0.554, allocations: 0 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.000909/0.555, allocations: 149.8 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.555, allocations: 55.41 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.5551, allocations: 89.86 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.5552, allocations: 29.7 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.5552, allocations: 80.14 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.5553, allocations: 35.45 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5555, allocations: 25.7 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5557, allocations: 318.8 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.556, allocations: 31.97 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.5562, allocations: 35.97 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.5567, allocations: 77.41 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5567, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004894/0.5572, allocations: 109.5 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.5572, allocations: 8.875 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5572, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5573, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.5575, allocations: 31.97 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5575, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.5576, allocations: 11.84 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5577, allocations: 7.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 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.0001445/0.5578, allocations: 117.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.5578, allocations: 11.88 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.5579, allocations: 11.97 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5579, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5579, allocations: 3.938 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5579, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.5582, allocations: 185.5 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5582, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.5584, allocations: 19.98 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.5584, allocations: 7.938 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.5585, allocations: 7.984 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5585, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5585, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.559, allocations: 141 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.5591, allocations: 92.89 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.5591, allocations: 3.984 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.5592, allocations: 8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.5593, allocations: 11.92 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.5593, allocations: 7.984 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.5594, allocations: 75.28 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5594, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004014/0.5598, allocations: 20 kB / 1.057 GB, free: 3.879 MB / 0.8106 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.001217/0.561, allocations: 0.6944 MB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00068/0.5617, allocations: 99.86 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5618, allocations: 0 / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.5621, allocations: 51.91 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5624, allocations: 8 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.5634, allocations: 210.5 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5639, allocations: 0.6885 MB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003586/0.5643, allocations: 39.83 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.5644, allocations: 19.42 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.5644, allocations: 0 / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.5935, allocations: 1.904 MB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004182/0.594, allocations: 220.7 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/4.345, allocations: 3.938 kB / 1.06 GB, free: 15.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 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.mat","/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