Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 106.9 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002423/0.002423, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.279/3.279, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 70.08 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4409, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002179/0.4431, allocations: 0.5894 MB / 1.348 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.4435, allocations: 104.1 kB / 1.348 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.4435, allocations: 7.938 kB / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.4436, allocations: 0 / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.4436, allocations: 0 / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.444, allocations: 39.88 kB / 1.349 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.4442, allocations: 63.88 kB / 1.349 GB, free: 9.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.4442, allocations: 4 kB / 1.349 GB, free: 9.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.4443, allocations: 27.91 kB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.4443, allocations: 23.97 kB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4443, allocations: 4 kB / 1.349 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.4445, allocations: 55.94 kB / 1.349 GB, free: 9.043 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.4445, allocations: 19.98 kB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.4446, allocations: 19.86 kB / 1.349 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.4448, allocations: 76.03 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4448, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4448, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4448, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006317/0.4454, allocations: 379.4 kB / 1.349 GB, free: 8.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4455, allocations: 15.98 kB / 1.349 GB, free: 8.492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.4455, allocations: 38.75 kB / 1.349 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.4456, allocations: 8.938 kB / 1.349 GB, free: 8.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4457, allocations: 168.3 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.446, allocations: 281.6 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.446, allocations: 4.375 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.4463, allocations: 93.77 kB / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4463, allocations: 0 / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4463, allocations: 0 / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.4464, allocations: 4 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.4467, allocations: 135.8 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.447, allocations: 177.6 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.4473, allocations: 90.52 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4474, allocations: 36.84 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4475, allocations: 7.938 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4475, allocations: 38.48 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.4475, allocations: 0 / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0005835/0.4481, allocations: 145.9 kB / 1.35 GB, free: 7.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.4481, allocations: 55.41 kB / 1.35 GB, free: 7.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.4482, allocations: 93.84 kB / 1.35 GB, free: 6.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4482, allocations: 25.7 kB / 1.351 GB, free: 6.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.4483, allocations: 80.14 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.4483, allocations: 35.69 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.4484, allocations: 37.69 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4485, allocations: 310.8 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4487, allocations: 35.97 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4488, allocations: 39.86 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.4491, allocations: 76.75 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4491, allocations: 0 / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003595/0.4495, allocations: 118.2 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4495, allocations: 7.938 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4495, allocations: 0 / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4495, allocations: 0 / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4497, allocations: 27.92 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4497, allocations: 0 / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.4498, allocations: 15.92 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4498, allocations: 0 / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001073/0.4499, allocations: 121.8 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.4499, allocations: 7.891 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.45, allocations: 15.95 kB / 1.351 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.45, allocations: 4 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.45, allocations: 0 / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.45, allocations: 0 / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4501, allocations: 173.6 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4501, allocations: 4 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.4503, allocations: 31.97 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4503, allocations: 3.938 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4503, allocations: 4 kB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4503, allocations: 7.938 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4503, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4507, allocations: 141.1 kB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.4507, allocations: 88.98 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.4508, allocations: 8 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.4508, allocations: 0 / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4509, allocations: 15.97 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4509, allocations: 4 kB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.4509, allocations: 75.28 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4509, allocations: 7.938 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002387/0.4512, allocations: 16 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008686/0.4521, allocations: 0.7021 MB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.4524, allocations: 87.81 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4524, allocations: 0 / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4526, allocations: 43.97 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.4528, allocations: 7.938 kB / 1.353 GB, free: 4.414 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.4534, allocations: 210.4 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4537, allocations: 0.6884 MB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.4539, allocations: 39.95 kB / 1.354 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4539, allocations: 23.42 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4539, allocations: 0 / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.4829, allocations: 2.018 MB / 1.356 GB, free: 1.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.656, allocations: 14.31 kB / 1.356 GB, free: 1.457 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bin[6] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[6] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[7] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[7] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[8] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[8] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[9] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[9] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[10] in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[10] from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.831118235830218]