Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001762/0.001762, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.002227/0.002227, allocations: 218.1 kB / 22.26 MB, free: 5.215 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_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.002113/0.002113, allocations: 69.03 kB / 1.117 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 169.9 MB / 1.283 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001814/0.3669, allocations: 0.5972 MB / 1.284 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004094/0.3674, allocations: 112 kB / 1.284 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3674, allocations: 0 / 1.284 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3674, allocations: 0 / 1.284 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.3674, allocations: 4 kB / 1.284 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.3678, allocations: 39.89 kB / 1.284 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3679, allocations: 67.94 kB / 1.284 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.368, allocations: 3.984 kB / 1.284 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.368, allocations: 23.92 kB / 1.284 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.3681, allocations: 27.97 kB / 1.284 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3681, allocations: 0 / 1.284 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3682, allocations: 51.94 kB / 1.284 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.3683, allocations: 27.84 kB / 1.284 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3683, allocations: 27.91 kB / 1.284 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3684, allocations: 72.06 kB / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.3685, allocations: 0 / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3685, allocations: 0 / 1.284 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3685, allocations: 0 / 1.284 GB, free: 2.93 MB / 0.9825 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.0005124/0.369, allocations: 294.3 kB / 1.285 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.369, allocations: 8.031 kB / 1.285 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.3691, allocations: 42.75 kB / 1.285 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3691, allocations: 8.891 kB / 1.285 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.3692, allocations: 110.5 kB / 1.285 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/0.3696, allocations: 0.5338 MB / 1.285 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3697, allocations: 4.375 kB / 1.285 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3699, allocations: 89.81 kB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3699, allocations: 0 / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3699, allocations: 4 kB / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3699, allocations: 0 / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.3703, allocations: 131.8 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.3705, allocations: 144.7 kB / 1.286 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3708, allocations: 94.52 kB / 1.286 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3709, allocations: 40.83 kB / 1.286 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3709, allocations: 3.984 kB / 1.286 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3709, allocations: 42.44 kB / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.371, allocations: 0 / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005185/0.3715, allocations: 149.8 kB / 1.286 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3715, allocations: 51.41 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.3716, allocations: 93.86 kB / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3716, allocations: 33.7 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.3716, allocations: 80.14 kB / 1.286 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.3717, allocations: 35.69 kB / 1.286 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3717, allocations: 25.7 kB / 1.286 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3719, allocations: 314.8 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.372, allocations: 31.97 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3721, allocations: 36.41 kB / 1.287 GB, free: 260 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3724, allocations: 84.84 kB / 1.287 GB, free: 172 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3724, allocations: 3.938 kB / 1.287 GB, free: 168 kB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003145/0.3727, allocations: 109.6 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3727, allocations: 7.938 kB / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3727, allocations: 0 / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3728, allocations: 0 / 1.287 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3729, allocations: 27.98 kB / 1.287 GB, free: 16 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3729, allocations: 7.922 kB / 1.287 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.373, allocations: 16.05 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.373, allocations: 4 kB / 1.287 GB, free: 15.98 MB / 0.9981 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.0001126/0.3731, allocations: 121.8 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3731, allocations: 3.938 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.3732, allocations: 11.91 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3732, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3732, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3732, allocations: 3.938 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3734, allocations: 152.7 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3734, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.3735, allocations: 27.97 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3735, allocations: 3.938 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3735, allocations: 4 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3735, allocations: 0 / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3735, allocations: 0 / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.3738, allocations: 141 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.3738, allocations: 15.83 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3739, allocations: 3.984 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.3739, allocations: 15.98 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.374, allocations: 7.984 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.374, allocations: 11.92 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.374, allocations: 75.28 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.374, allocations: 0 / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002268/0.3742, allocations: 20 kB / 1.288 GB, free: 15.3 MB / 0.9981 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.000733/0.375, allocations: 0.6904 MB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.3753, allocations: 87.86 kB / 1.288 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3753, allocations: 0 / 1.288 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3755, allocations: 44.45 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.3756, allocations: 6.188 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.3762, allocations: 206.6 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3765, allocations: 0.6846 MB / 1.289 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.3767, allocations: 39.91 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3767, allocations: 19.42 kB / 1.289 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3767, allocations: 0 / 1.289 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.4047, allocations: 2.179 MB / 1.291 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.2, allocations: 17.55 kB / 1.291 GB, free: 11.38 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[6] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[7] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[7] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[8] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[8] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[9] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[9] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! Error: Could not read variable bin[10] in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv. Warning: Get data of variable bin[10] from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.903163975999632]