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.008497/0.008497, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.002491/0.002491, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7468, allocations: 159.1 MB / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002862/0.7497, allocations: 1.531 MB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004973/0.7502, allocations: 183.4 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.7503, allocations: 4 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.7503, allocations: 3.984 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.7504, allocations: 7.938 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.7507, allocations: 51.88 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.7508, allocations: 27.92 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.7509, allocations: 15.98 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.751, allocations: 15.92 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.751, allocations: 19.92 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.7511, allocations: 8 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.7512, allocations: 47.95 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.7512, allocations: 7.984 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.7513, allocations: 19.86 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.7514, allocations: 70.45 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7514, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7515, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7515, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 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.000542/0.752, allocations: 364.3 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7521, allocations: 11.97 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.7521, allocations: 38.73 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.7521, allocations: 4.875 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.7523, allocations: 176.3 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.7523, allocations: 384 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.7523, allocations: 4.375 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.7525, allocations: 66.16 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7526, allocations: 3.938 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.7526, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7526, allocations: 4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.7528, allocations: 47.95 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.7532, allocations: 272.8 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.7536, allocations: 62.47 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.7537, allocations: 28.91 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.7539, allocations: 170.2 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.754, allocations: 30.56 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.754, allocations: 0 / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004106/0.7544, allocations: 97.59 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.7544, allocations: 51.41 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.7545, allocations: 113.8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.7546, allocations: 29.7 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.7546, allocations: 88.06 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.7546, allocations: 7.953 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.7547, allocations: 17.72 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7548, allocations: 318.8 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.7549, allocations: 19.98 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.755, allocations: 19.98 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.7552, allocations: 48.81 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7552, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002325/0.7555, allocations: 77.61 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7555, allocations: 8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7555, allocations: 7.922 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7555, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.7556, allocations: 8 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7556, allocations: 3.984 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.7557, allocations: 7.938 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.7557, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 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 8.632e-05/0.7558, allocations: 114.1 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.7558, allocations: 11.98 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.7561, allocations: 85.53 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7562, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.7562, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7562, allocations: 7.938 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.7564, allocations: 169.5 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7564, allocations: 4 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.7565, allocations: 11.92 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.7565, allocations: 8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.7565, allocations: 4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7565, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7565, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.7568, allocations: 171.4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.7569, allocations: 77.11 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7569, allocations: 4 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.757, allocations: 7.984 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.7571, allocations: 8 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.7571, allocations: 0 / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.7571, allocations: 91.27 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7571, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002503/0.7574, allocations: 19.94 kB / 1.225 GB, free: 12.79 MB / 0.9512 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.0006823/0.7581, allocations: 0.7285 MB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.7583, allocations: 43.95 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7584, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.7585, allocations: 27.92 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.7588, allocations: 15.97 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.7603, allocations: 1.284 MB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.7606, allocations: 0.6768 MB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.7607, allocations: 8 kB / 1.228 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.7607, allocations: 23.45 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.7607, allocations: 0 / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.7841, allocations: 1.923 MB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.888, allocations: 12.53 kB / 1.23 GB, free: 7.992 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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