Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_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.007591/0.007591, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001931/0.001932, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.7497, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002441/0.7522, allocations: 1.523 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.7527, allocations: 185.3 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.7527, allocations: 1.094 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.7527, allocations: 4.641 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.7528, allocations: 4.641 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.7531, allocations: 47.44 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.7532, allocations: 38.98 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.7533, allocations: 16.64 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.7533, allocations: 16.3 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.7534, allocations: 22.09 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.7534, allocations: 6.562 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.7535, allocations: 49.33 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.7535, allocations: 8.094 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.7536, allocations: 17.12 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.7537, allocations: 64.88 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7537, allocations: 1.562 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7537, allocations: 0 / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7538, allocations: 4 kB / 1.089 GB, free: 3.949 MB / 0.8575 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.0003997/0.7542, allocations: 351.9 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7542, allocations: 9.562 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.7542, allocations: 36.95 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.7543, allocations: 3.25 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.42e-05/0.7543, allocations: 175.5 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.7544, allocations: 5.406 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.7544, allocations: 2.562 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.7546, allocations: 67.11 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7546, allocations: 3.938 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.7546, allocations: 5 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7546, allocations: 1.875 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.7548, allocations: 43.83 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.7551, allocations: 280 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.7555, allocations: 61.58 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.7556, allocations: 26.11 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.7558, allocations: 166.4 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.7558, allocations: 31.56 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.7558, allocations: 4 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003884/0.7562, allocations: 105.4 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.7562, allocations: 52.31 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.7563, allocations: 107.7 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.7563, allocations: 25.7 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.7564, allocations: 86.31 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.7564, allocations: 10.66 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.7564, allocations: 22.38 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.7565, allocations: 317.2 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.7566, allocations: 20.69 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/0.7567, allocations: 21.12 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.7568, allocations: 49.8 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7569, allocations: 4 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000218/0.7571, allocations: 70.92 kB / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7571, allocations: 5.344 kB / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7571, allocations: 0 / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7571, allocations: 0 / 1.091 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.7572, allocations: 11.92 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.7572, allocations: 0.6562 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.7573, allocations: 18.34 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.7573, allocations: 5.453 kB / 1.092 GB, free: 1.941 MB / 0.8575 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 5.431e-05/0.7574, allocations: 113 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.7574, allocations: 1.734 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.7577, allocations: 92.78 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7577, allocations: 1 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7577, allocations: 0 / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7577, allocations: 1.578 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.7578, allocations: 169.2 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7578, allocations: 0.6562 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.7579, allocations: 14.5 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.7579, allocations: 1.938 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.7579, allocations: 0 / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7579, allocations: 1.453 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7579, allocations: 1.031 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.7582, allocations: 181 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.7582, allocations: 83.42 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.7582, allocations: 5.219 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.7583, allocations: 5.844 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.7584, allocations: 9.641 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.7584, allocations: 1.031 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.7584, allocations: 88.38 kB / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7584, allocations: 0 / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002591/0.7587, allocations: 22.41 kB / 1.092 GB, free: 1.219 MB / 0.8575 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.0005606/0.7593, allocations: 0.7238 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.7595, allocations: 49.47 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7595, allocations: 0.875 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.7596, allocations: 29.25 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.76, allocations: 2.984 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.7615, allocations: 1.29 MB / 1.094 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.7617, allocations: 0.6843 MB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.7618, allocations: 3.141 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.7618, allocations: 16.61 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7618, allocations: 0 / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.7787, allocations: 1.927 MB / 1.097 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/8.008, allocations: 1.781 kB / 1.097 GB, free: 14.19 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_9_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches