Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_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.001732/0.001732, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 68.86 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2604, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002524/0.263, allocations: 1.537 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.2634, allocations: 173.3 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.2634, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.2635, allocations: 3.938 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/0.2635, allocations: 3.938 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.2638, allocations: 51.88 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.2639, allocations: 35.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.2639, allocations: 19.97 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.264, allocations: 15.94 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.264, allocations: 19.92 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.264, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2642, allocations: 51.94 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2642, allocations: 7.938 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.2642, allocations: 15.92 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.2643, allocations: 55.86 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2643, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2643, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2644, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 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.0004424/0.2648, allocations: 355.6 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2648, allocations: 12.03 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.2649, allocations: 34.75 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.2649, allocations: 8.875 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.265, allocations: 168.3 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2651, allocations: 4.375 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2651, allocations: 8.375 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2653, allocations: 54.23 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2653, allocations: 3.938 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2653, allocations: 11.98 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2653, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2655, allocations: 51.88 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.2659, allocations: 276.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.2662, allocations: 54.53 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.2663, allocations: 24.91 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.2665, allocations: 178.1 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2665, allocations: 34.56 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2666, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003692/0.2669, allocations: 97.53 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.267, allocations: 51.41 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.2671, allocations: 113.8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2671, allocations: 25.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.2671, allocations: 100.1 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.2671, allocations: 7.891 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2672, allocations: 13.72 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2673, allocations: 318.8 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/0.2674, allocations: 23.97 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.2675, allocations: 19.92 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.2677, allocations: 52.81 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2677, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.2679, allocations: 77.56 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2679, allocations: 4 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2679, allocations: 4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2679, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.268, allocations: 11.98 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.268, allocations: 4 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.2681, allocations: 11.92 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2681, allocations: 0 / 1.068 GB, free: 9.762 MB / 0.8262 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 7.544e-05/0.2682, allocations: 121.7 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2682, allocations: 0 / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.2685, allocations: 81.55 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2685, allocations: 4 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2685, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2685, allocations: 3.984 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2687, allocations: 169.6 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2687, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.2688, allocations: 11.98 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2688, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2688, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2688, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2688, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.269, allocations: 183.3 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2691, allocations: 85.52 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2691, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.2692, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2693, allocations: 7.984 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2693, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.2693, allocations: 87.27 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002351/0.2696, allocations: 23.94 kB / 1.069 GB, free: 8.883 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.0005975/0.2702, allocations: 0.7279 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.2704, allocations: 51.94 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2704, allocations: 3.938 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.2705, allocations: 23.98 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.2707, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2721, allocations: 1.292 MB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2724, allocations: 0.6768 MB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.2725, allocations: 8.125 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2725, allocations: 15.44 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2725, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5391/0.8117, allocations: 1.899 MB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.43, allocations: 9.859 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches