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.0009059/0.0009058, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004812/0.004812, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 15.78 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2381, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006116/0.2388, allocations: 330.9 kB / 1.059 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.2391, allocations: 107.6 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.2392, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.2392, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.2392, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2395, allocations: 31.97 kB / 1.059 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2396, allocations: 63.94 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.2396, allocations: 11.97 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.2397, allocations: 19.98 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.2397, allocations: 19.97 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.2397, allocations: 7.938 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2398, allocations: 47.89 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.2399, allocations: 15.98 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.2399, allocations: 61.53 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2401, allocations: 63.84 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2401, allocations: 4 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2401, allocations: 4 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.2401, allocations: 0 / 1.06 GB, free: 4.109 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.0004096/0.2405, allocations: 351.6 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2406, allocations: 11.97 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.2406, allocations: 38.75 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.2407, allocations: 8.922 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.379e-05/0.2407, allocations: 164.6 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.241, allocations: 281.6 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.241, allocations: 4.375 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2413, allocations: 97.81 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2413, allocations: 0 / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2413, allocations: 3.984 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2413, allocations: 0 / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.2416, allocations: 131.8 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2418, allocations: 181.6 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.2421, allocations: 90.52 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2423, allocations: 44.83 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2423, allocations: 11.98 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2423, allocations: 38.44 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2423, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005206/0.2429, allocations: 141.9 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2429, allocations: 55.41 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.309e-05/0.2429, allocations: 93.86 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.243, allocations: 25.7 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.243, allocations: 84.14 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.2431, allocations: 35.45 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2431, allocations: 17.72 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.2432, allocations: 314.8 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2433, allocations: 31.98 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2435, allocations: 35.91 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.2437, allocations: 77.41 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2438, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003254/0.2441, allocations: 117.6 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2441, allocations: 7.938 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2441, allocations: 3.938 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2441, allocations: 4 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2443, allocations: 31.91 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2443, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.2444, allocations: 11.84 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2444, allocations: 11.98 kB / 1.062 GB, free: 1.305 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.746e-05/0.2445, allocations: 113.8 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.2445, allocations: 3.938 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.2445, allocations: 15.97 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2445, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2446, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2446, allocations: 3.984 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2447, allocations: 185.5 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2447, allocations: 0 / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2448, allocations: 19.98 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2448, allocations: 3.938 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.2449, allocations: 11.98 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2449, allocations: 4 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2449, allocations: 3.938 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.2452, allocations: 129.1 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.2453, allocations: 96.88 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2453, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.2454, allocations: 4 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.2454, allocations: 7.984 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2454, allocations: 15.98 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.212e-05/0.2455, allocations: 75.28 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2455, allocations: 3.938 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.2457, allocations: 16 kB / 1.063 GB, free: 0.5039 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.0006684/0.2464, allocations: 0.6982 MB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.2467, allocations: 83.88 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2467, allocations: 3.938 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2469, allocations: 43.97 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.247, allocations: 8 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.2475, allocations: 222.8 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2477, allocations: 0.6848 MB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000141/0.2479, allocations: 39.81 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.248, allocations: 23.42 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.248, allocations: 3.938 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.2584, allocations: 1.79 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.2586, allocations: 207.8 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.901, allocations: 2.75 kB / 1.066 GB, free: 12.69 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