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.001795/0.001795, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002155/0.002155, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.793 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.254/3.254, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.002143/0.002143, allocations: 70.48 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3993, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001754/0.401, allocations: 0.5885 MB / 1.326 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.4015, allocations: 116 kB / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.4015, allocations: 0 / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.4015, allocations: 0 / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.4015, allocations: 4 kB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.4019, allocations: 39.88 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.402, allocations: 59.94 kB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.4021, allocations: 4 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.4021, allocations: 27.92 kB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.4022, allocations: 23.95 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4022, allocations: 4 kB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.4023, allocations: 51.94 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.4024, allocations: 19.98 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.4024, allocations: 19.92 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.4026, allocations: 80.03 kB / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4026, allocations: 4 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4026, allocations: 0 / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4026, allocations: 0 / 1.326 GB, free: 1.281 MB / 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.0005235/0.4031, allocations: 294.3 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4031, allocations: 8.031 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.4032, allocations: 46.67 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.4032, allocations: 8.938 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.4033, allocations: 114.4 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.4038, allocations: 0.5299 MB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4038, allocations: 4.375 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.404, allocations: 81.95 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.404, allocations: 4 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.404, allocations: 4 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4041, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.4044, allocations: 127.8 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.4046, allocations: 140.8 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.4049, allocations: 94.39 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.4051, allocations: 36.84 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4051, allocations: 8.328 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4051, allocations: 46.42 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4051, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005726/0.4057, allocations: 145.5 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4057, allocations: 55.39 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.698e-05/0.4058, allocations: 89.86 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4058, allocations: 29.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4058, allocations: 84.08 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.4059, allocations: 35.7 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.4059, allocations: 33.69 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4061, allocations: 310.8 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4063, allocations: 43.91 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.4064, allocations: 31.97 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4067, allocations: 68.83 kB / 1.328 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4067, allocations: 0 / 1.328 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003308/0.407, allocations: 121.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.407, allocations: 11.88 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.407, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.407, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4072, allocations: 19.98 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4072, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.4072, allocations: 15.92 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4073, allocations: 4 kB / 1.329 GB, free: 14.35 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 9.926e-05/0.4074, allocations: 118.4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.4074, allocations: 7.938 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.4074, allocations: 11.91 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4074, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4074, allocations: 3.938 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4074, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.4076, allocations: 148.7 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4076, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4077, allocations: 27.97 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4077, allocations: 7.938 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4077, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4077, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4077, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.4081, allocations: 149.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.4081, allocations: 11.83 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4081, allocations: 11.94 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.4082, allocations: 3.984 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.4082, allocations: 11.97 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4082, allocations: 11.98 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.4083, allocations: 79.28 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4083, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002267/0.4085, allocations: 20 kB / 1.329 GB, free: 13.66 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.0007615/0.4093, allocations: 0.6943 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.4096, allocations: 87.86 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4096, allocations: 3.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.4098, allocations: 47.91 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.4099, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.4105, allocations: 202.4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.4105, allocations: 71.94 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.4107, allocations: 31.97 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.4108, allocations: 23.42 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4108, allocations: 0 / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.4425, allocations: 2.519 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.81, allocations: 14.27 kB / 1.333 GB, free: 10.02 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.957449764944613]