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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001099/0.001099, allocations: 196.8 kB / 16.14 MB, free: 6.645 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 76.36 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001711/0.2508, allocations: 0.6619 MB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003875/0.2512, allocations: 111.6 kB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.226e-05/0.2513, allocations: 0 / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2513, allocations: 0 / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-06/0.2513, allocations: 0 / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2516, allocations: 39.95 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2517, allocations: 55.94 kB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.2517, allocations: 4 kB / 1.053 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.2518, allocations: 23.97 kB / 1.053 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.2518, allocations: 19.97 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2518, allocations: 4 kB / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.252, allocations: 55.94 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.252, allocations: 19.92 kB / 1.053 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.2521, allocations: 23.91 kB / 1.053 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2522, allocations: 71.83 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2522, allocations: 4 kB / 1.053 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2522, allocations: 0 / 1.053 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2522, allocations: 0 / 1.053 GB, free: 7.074 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.000438/0.2527, allocations: 371.5 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2527, allocations: 15.95 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.2528, allocations: 42.75 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.2528, allocations: 4.938 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.326e-05/0.2529, allocations: 164.6 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.2531, allocations: 285.6 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2531, allocations: 4.375 kB / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2534, allocations: 85.89 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2534, allocations: 3.938 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2534, allocations: 0 / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2534, allocations: 0 / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.2538, allocations: 143.7 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.2539, allocations: 177.6 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.2542, allocations: 90.53 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2544, allocations: 40.83 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2544, allocations: 11.98 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2544, allocations: 34.5 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.2544, allocations: 0 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005096/0.2549, allocations: 149.8 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.255, allocations: 55.41 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.593e-05/0.255, allocations: 89.86 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2551, allocations: 29.7 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.2551, allocations: 80.14 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2551, allocations: 35.45 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.2552, allocations: 29.7 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.2553, allocations: 322.8 kB / 1.055 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2554, allocations: 23.98 kB / 1.055 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2555, allocations: 35.97 kB / 1.055 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.2558, allocations: 85.34 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2558, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003177/0.2561, allocations: 105.6 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2562, allocations: 11.94 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2562, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2562, allocations: 3.984 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2564, allocations: 27.98 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2564, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.2564, allocations: 7.844 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2564, allocations: 7.984 kB / 1.056 GB, free: 4.25 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 7.173e-05/0.2565, allocations: 117.8 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2565, allocations: 7.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.2566, allocations: 15.95 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2566, allocations: 3.984 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2566, allocations: 8 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2566, allocations: 7.938 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2567, allocations: 173.6 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2567, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2569, allocations: 23.98 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2569, allocations: 11.86 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2569, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2569, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2569, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.2572, allocations: 149 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.2573, allocations: 88.89 kB / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2573, allocations: 0 / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.2574, allocations: 8 kB / 1.056 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.2574, allocations: 11.97 kB / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2574, allocations: 7.938 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.498e-05/0.2575, allocations: 75.28 kB / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2575, allocations: 0 / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002187/0.2577, allocations: 24 kB / 1.056 GB, free: 3.434 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.0006348/0.2583, allocations: 0.6982 MB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.2587, allocations: 83.88 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2587, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2588, allocations: 51.91 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.259, allocations: 4 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.2594, allocations: 220.3 kB / 1.057 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2596, allocations: 0.6809 MB / 1.058 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2598, allocations: 43.81 kB / 1.058 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.2599, allocations: 19.42 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2599, allocations: 0 / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.2704, allocations: 1.862 MB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2706, allocations: 205.6 kB / 1.06 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.973, allocations: 8 kB / 1.06 GB, free: 15.52 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