Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001814/0.001814, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00219/0.00219, allocations: 218.5 kB / 22.25 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.27/3.27, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_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.002016/0.002016, allocations: 71.14 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3935, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002575/0.3961, allocations: 0.5906 MB / 1.326 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005045/0.3966, allocations: 104.1 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.3967, allocations: 4 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.3967, allocations: 3.938 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.3967, allocations: 0 / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.3972, allocations: 35.89 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3973, allocations: 67.92 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.3974, allocations: 4 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.3974, allocations: 23.92 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.3975, allocations: 27.97 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3975, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3977, allocations: 55.94 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3977, allocations: 19.97 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.3978, allocations: 31.91 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.398, allocations: 68.06 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.398, allocations: 0 / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.398, allocations: 0 / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.398, allocations: 0 / 1.327 GB, free: 432 kB / 1.014 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.000551/0.3985, allocations: 298.2 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3986, allocations: 8.031 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.3986, allocations: 42.75 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3987, allocations: 16.83 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3988, allocations: 106.5 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/0.3993, allocations: 0.5299 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3993, allocations: 12.36 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3996, allocations: 85.94 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3996, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3996, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3996, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.4, allocations: 135.7 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.4002, allocations: 136.8 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.4005, allocations: 90.52 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4007, allocations: 41.16 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.4007, allocations: 11.94 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.4007, allocations: 38.5 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4007, allocations: 0 / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005842/0.4013, allocations: 149.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.4014, allocations: 51.41 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.4015, allocations: 89.86 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.4015, allocations: 25.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.4015, allocations: 84.14 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.4016, allocations: 43.67 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.4016, allocations: 29.64 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4018, allocations: 314.8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4019, allocations: 39.91 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4021, allocations: 35.97 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4023, allocations: 68.81 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4023, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003674/0.4027, allocations: 117.5 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4027, allocations: 7.938 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4027, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4027, allocations: 4 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4029, allocations: 23.97 kB / 1.329 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4029, allocations: 4 kB / 1.329 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.403, allocations: 15.89 kB / 1.329 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.403, allocations: 4 kB / 1.329 GB, free: 13.48 MB / 1.029 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.0001022/0.4031, allocations: 122.3 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.4031, allocations: 7.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.4031, allocations: 7.906 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4031, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4032, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4032, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.4033, allocations: 152.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4033, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.4034, allocations: 19.98 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4034, allocations: 7.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4035, allocations: 7.984 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4035, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4035, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.4038, allocations: 145.7 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.4038, allocations: 15.81 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4038, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.4039, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.404, allocations: 19.97 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.404, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.404, allocations: 75.28 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.404, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002198/0.4042, allocations: 24 kB / 1.33 GB, free: 12.8 MB / 1.029 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.0007818/0.405, allocations: 0.7047 MB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.4053, allocations: 83.94 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4053, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4055, allocations: 47.91 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.4056, allocations: 9.656 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.4062, allocations: 206.4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.4063, allocations: 67.34 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.4064, allocations: 35.95 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.4065, allocations: 23.42 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4065, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.436, allocations: 2.559 MB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 19.16 kB / 1.334 GB, free: 9.105 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[6] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[7] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[7] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[8] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[8] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[9] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[9] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[10] in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[10] from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.705576329986798]