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.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001435/0.001435, allocations: 210 kB / 22.24 MB, free: 5.258 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.742 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.456/3.456, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.002082/0.002082, allocations: 62.95 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4062, allocations: 181.9 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002759/0.4089, allocations: 0.6016 MB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005645/0.4095, allocations: 108 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.4095, allocations: 0 / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.4096, allocations: 0 / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.4096, allocations: 0 / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.41, allocations: 39.89 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.4102, allocations: 63.94 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.4103, allocations: 3.984 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.4103, allocations: 23.98 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.4104, allocations: 23.97 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.4104, allocations: 4 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4106, allocations: 51.94 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.4106, allocations: 23.97 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.4107, allocations: 15.92 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.4109, allocations: 83.92 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4109, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4109, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.411, allocations: 0 / 1.364 GB, free: 12.96 MB / 1.061 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.0007187/0.4117, allocations: 294.3 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4117, allocations: 12.03 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.4118, allocations: 42.75 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.4119, allocations: 8.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.412, allocations: 106.5 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.4125, allocations: 0.5299 MB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.4125, allocations: 4.375 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.4128, allocations: 85.94 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4128, allocations: 3.938 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4128, allocations: 3.984 kB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4128, allocations: 0 / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.4132, allocations: 127.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.4134, allocations: 152.6 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.4137, allocations: 94.47 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4138, allocations: 40.83 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4138, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4139, allocations: 42.44 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.4139, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000553/0.4144, allocations: 149.9 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4145, allocations: 51.41 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.4145, allocations: 93.86 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4146, allocations: 25.7 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.4146, allocations: 84.14 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.4147, allocations: 43.64 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.4147, allocations: 25.7 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4149, allocations: 322.8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.415, allocations: 23.98 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4151, allocations: 31.97 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.4154, allocations: 80.75 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4154, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003264/0.4157, allocations: 110.2 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4157, allocations: 15.94 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4158, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4158, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4159, allocations: 23.97 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4159, allocations: 3.984 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.416, allocations: 11.94 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.416, allocations: 11.92 kB / 1.367 GB, free: 10.03 MB / 1.061 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 9.833e-05/0.4161, allocations: 113.8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4161, allocations: 11.89 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.4162, allocations: 7.906 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4162, allocations: 4 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4162, allocations: 3.984 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4162, allocations: 4 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4163, allocations: 140.7 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4163, allocations: 0 / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4165, allocations: 31.97 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4165, allocations: 3.938 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4165, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4165, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4165, allocations: 4 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.4169, allocations: 156.9 kB / 1.367 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.4169, allocations: 15.81 kB / 1.367 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.4169, allocations: 0 / 1.367 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.4169, allocations: 4 kB / 1.367 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.417, allocations: 15.97 kB / 1.367 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.417, allocations: 4 kB / 1.367 GB, free: 9.438 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.417, allocations: 75.28 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.417, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/0.4173, allocations: 23.98 kB / 1.368 GB, free: 9.34 MB / 1.061 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.000792/0.4181, allocations: 0.6999 MB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4184, allocations: 83.88 kB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4184, allocations: 0 / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.4186, allocations: 51.89 kB / 1.368 GB, free: 8.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.4187, allocations: 4 kB / 1.368 GB, free: 8.477 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.4193, allocations: 198.5 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.4194, allocations: 67.34 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000196/0.4196, allocations: 39.95 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.4196, allocations: 23.42 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4196, allocations: 4 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.4509, allocations: 2.503 MB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 21.02 kB / 1.371 GB, free: 5.711 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.33715768530965]