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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001299/0.0013, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.02 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2457, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002326/0.2481, allocations: 1.598 MB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.2485, allocations: 179.5 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.2485, allocations: 4 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.2486, allocations: 3.938 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.2486, allocations: 7.984 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2488, allocations: 35.91 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.2489, allocations: 39.86 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.249, allocations: 15.97 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/0.249, allocations: 15.94 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.2491, allocations: 19.92 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2491, allocations: 0 / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.2492, allocations: 47.94 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2492, allocations: 7.938 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.2492, allocations: 15.92 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2494, allocations: 55.86 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2494, allocations: 4 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2494, allocations: 0 / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2494, allocations: 0 / 1.054 GB, free: 6.172 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.0004096/0.2498, allocations: 367.6 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2498, allocations: 11.97 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.2499, allocations: 30.75 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.2499, allocations: 4.938 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.25, allocations: 168.3 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.25, allocations: 4.375 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.25, allocations: 4.375 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2502, allocations: 66.17 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2502, allocations: 7.922 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2502, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2502, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.2504, allocations: 47.94 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.2507, allocations: 276.8 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.2511, allocations: 66.47 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.2512, allocations: 24.91 kB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.2514, allocations: 162.2 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2514, allocations: 30.56 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2514, allocations: 4 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003463/0.2517, allocations: 105.5 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2518, allocations: 51.41 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.2518, allocations: 105.8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2519, allocations: 29.7 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2519, allocations: 84.14 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2519, allocations: 7.891 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.252, allocations: 17.72 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.252, allocations: 318.8 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.2521, allocations: 27.97 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.2522, allocations: 20.17 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.2524, allocations: 44.89 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2524, allocations: 3.938 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001946/0.2526, allocations: 81.59 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2526, allocations: 8 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2526, allocations: 3.938 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.2526, allocations: 0 / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.2527, allocations: 11.98 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2527, allocations: 0 / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.2528, allocations: 11.89 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2528, allocations: 0 / 1.056 GB, free: 3.73 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.6e-05/0.2529, allocations: 121.8 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2529, allocations: 0 / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.2531, allocations: 85.48 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2531, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2532, allocations: 3.984 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2532, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2533, allocations: 169.6 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2533, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.2534, allocations: 15.98 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2534, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2534, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2534, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2534, allocations: 4 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.2537, allocations: 175.4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2537, allocations: 81.09 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2537, allocations: 4 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.2538, allocations: 4 kB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2538, allocations: 7.984 kB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2539, allocations: 3.938 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.2539, allocations: 91.27 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 0 / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000228/0.2541, allocations: 19.94 kB / 1.057 GB, free: 2.855 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: 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.0005079/0.2547, allocations: 0.728 MB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2549, allocations: 48.14 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2549, allocations: 3.938 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.255, allocations: 28.08 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.2552, allocations: 2.484 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2564, allocations: 1.309 MB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2566, allocations: 0.6848 MB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.2567, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.2567, allocations: 19.42 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2567, allocations: 0 / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/2.055, allocations: 1.699 MB / 1.061 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/2.055, allocations: 192 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.784, allocations: 0 / 1.062 GB, free: 14.03 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