Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.0009109/0.0009109, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001079/0.001079, allocations: 175.4 kB / 16.27 MB, free: 6.66 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.323/1.323, 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.674/2.674, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 11.25 kB / 0.9029 GB, free: 36.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001562/0.2425, allocations: 1.27 MB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004557/0.2429, allocations: 171.6 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.243, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.243, allocations: 7.922 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.2431, allocations: 4 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2433, allocations: 43.89 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.2434, allocations: 31.92 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.2435, allocations: 12 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.2435, allocations: 15.91 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.2436, allocations: 15.92 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2436, allocations: 4 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2437, allocations: 39.97 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.2437, allocations: 7.984 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.2437, allocations: 45.56 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2439, allocations: 55.84 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2439, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2439, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2439, allocations: 4 kB / 1.06 GB, free: 3.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004074/0.2443, allocations: 351.8 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2444, allocations: 15.97 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2444, allocations: 34.75 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.2444, allocations: 8.844 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/0.2445, allocations: 168.3 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2446, allocations: 384 / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2446, allocations: 4.312 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2448, allocations: 70.22 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2448, allocations: 7.938 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.2448, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2448, allocations: 3.984 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.245, allocations: 59.89 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.2454, allocations: 284.7 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2457, allocations: 70.47 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2458, allocations: 36.89 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.246, allocations: 166.2 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2461, allocations: 34.56 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2461, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003949/0.2465, allocations: 113.6 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2465, allocations: 51.41 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.2466, allocations: 117.8 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2466, allocations: 25.7 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.2466, allocations: 80.14 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.2467, allocations: 7.906 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.2467, allocations: 17.72 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.2468, allocations: 322.8 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.2469, allocations: 19.98 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.662e-05/0.247, allocations: 23.98 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2472, allocations: 60.81 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2472, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002405/0.2474, allocations: 89.59 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2475, allocations: 11.98 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2475, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2475, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.2476, allocations: 11.98 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2476, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.2477, allocations: 8 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2477, allocations: 4 kB / 1.063 GB, free: 0.6133 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.651e-05/0.2477, allocations: 117.7 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.2478, allocations: 7.891 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.2481, allocations: 105.5 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2481, allocations: 4 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2481, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2481, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2482, allocations: 169.6 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2483, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.2483, allocations: 11.98 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2484, allocations: 384 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2484, allocations: 4 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2484, allocations: 0 / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2484, allocations: 4 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.2487, allocations: 183.4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2487, allocations: 85.02 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2487, allocations: 7.938 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.2488, allocations: 7.984 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2489, allocations: 11.94 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2489, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.2489, allocations: 91.27 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2489, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002483/0.2492, allocations: 15.94 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005564/0.2498, allocations: 0.7386 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.25, allocations: 63.89 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.25, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2501, allocations: 23.98 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2504, allocations: 11.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2518, allocations: 1.326 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.252, allocations: 0.6809 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.252, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.2521, allocations: 15.44 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2521, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.2643, allocations: 1.644 MB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.2645, allocations: 195.7 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.044, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches