Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001518/0.001518, allocations: 109.6 kB / 16.45 MB, free: 6.508 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.001616/0.001616, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.499/3.499, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.002075/0.002075, allocations: 69.69 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003055/0.3958, allocations: 1.561 MB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005079/0.3963, allocations: 179.5 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.3963, allocations: 4 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3964, allocations: 3.938 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.3964, allocations: 3.938 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.3968, allocations: 51.88 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.3969, allocations: 31.92 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.397, allocations: 19.92 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.397, allocations: 15.98 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.3971, allocations: 19.91 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3971, allocations: 4 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3972, allocations: 47.95 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3972, allocations: 7.938 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.3972, allocations: 11.94 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3974, allocations: 75.98 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3974, allocations: 0 / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3974, allocations: 0 / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3974, allocations: 0 / 1.323 GB, free: 1.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005802/0.398, allocations: 363.2 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3981, allocations: 11.98 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.3981, allocations: 42.69 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3982, allocations: 4.891 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3983, allocations: 168.4 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3983, allocations: 384 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3984, allocations: 4.375 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3986, allocations: 62.23 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3986, allocations: 3.938 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3986, allocations: 4 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3986, allocations: 3.938 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3988, allocations: 39.95 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3992, allocations: 288.7 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3996, allocations: 62.47 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3997, allocations: 20.91 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.3999, allocations: 170.2 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4, allocations: 30.56 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004477/0.4004, allocations: 97.62 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.4005, allocations: 51.41 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.4006, allocations: 113.8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4006, allocations: 25.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.4007, allocations: 92.2 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.4007, allocations: 7.891 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.4008, allocations: 21.7 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.401, allocations: 322.7 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4011, allocations: 23.97 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.4011, allocations: 15.98 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.4013, allocations: 45.09 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4013, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002483/0.4016, allocations: 81.64 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4016, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4016, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4016, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.4017, allocations: 15.92 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4017, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.4018, allocations: 11.94 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.4018, allocations: 0 / 1.325 GB, free: 14.83 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001127/0.4019, allocations: 121.8 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.402, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.4023, allocations: 85.55 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4023, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4023, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4023, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.4025, allocations: 181.5 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4025, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.4026, allocations: 8 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4026, allocations: 3.938 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4026, allocations: 3.984 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4026, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4026, allocations: 4 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4029, allocations: 175.4 kB / 1.325 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.403, allocations: 81.11 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.403, allocations: 3.984 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.4031, allocations: 4 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4032, allocations: 7.984 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4032, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.908e-05/0.4032, allocations: 91.58 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4032, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002584/0.4035, allocations: 19.92 kB / 1.326 GB, free: 13.94 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007729/0.4043, allocations: 0.7279 MB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.4045, allocations: 47.95 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4045, allocations: 4 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4046, allocations: 27.91 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.405, allocations: 4 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4067, allocations: 1.296 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.4071, allocations: 0.6807 MB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.4071, allocations: 4 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.4072, allocations: 15.53 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4072, allocations: 3.938 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.4341, allocations: 1.929 MB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.582, allocations: 16.3 kB / 1.33 GB, free: 9.129 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bin.y in file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.83694580080919]