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.001508/0.001508, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001659/0.001659, allocations: 213.5 kB / 22.24 MB, free: 5.105 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.82 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.805/2.805, allocations: 476 MB / 0.7699 GB, free: 4.781 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.002171/0.002171, allocations: 64.81 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002041/0.3456, allocations: 0.5936 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004503/0.346, allocations: 95.66 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.346, allocations: 4 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.3461, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-06/0.3461, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3465, allocations: 47.92 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.3466, allocations: 63.94 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.3467, allocations: 11.94 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.3467, allocations: 23.92 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.3468, allocations: 23.95 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3468, allocations: 4 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.347, allocations: 51.94 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.347, allocations: 19.97 kB / 1.284 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.347, allocations: 19.92 kB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3472, allocations: 75.34 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3472, allocations: 0 / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3472, allocations: 8 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3472, allocations: 0 / 1.284 GB, free: 11.44 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.0004982/0.3477, allocations: 292 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3477, allocations: 12.02 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.3478, allocations: 42.69 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3478, allocations: 8.891 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3479, allocations: 114.5 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004882/0.3484, allocations: 0.5299 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3484, allocations: 4.359 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3487, allocations: 89.88 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3487, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3487, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3487, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.3491, allocations: 123.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.3493, allocations: 140.8 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.3496, allocations: 90.52 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3497, allocations: 44.77 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3498, allocations: 4.328 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3498, allocations: 38.44 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3498, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005612/0.3504, allocations: 157.5 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3504, allocations: 51.41 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.3505, allocations: 89.86 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3505, allocations: 25.7 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.3505, allocations: 80.14 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.3506, allocations: 39.69 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.3506, allocations: 29.7 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3508, allocations: 310.8 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3509, allocations: 43.84 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3511, allocations: 35.91 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3513, allocations: 76.81 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3513, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003304/0.3517, allocations: 109.6 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3517, allocations: 11.88 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3517, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3517, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.3519, allocations: 31.91 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3519, allocations: 4 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.3519, allocations: 11.89 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.352, allocations: 8 kB / 1.286 GB, free: 8.508 MB / 0.9825 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.0001067/0.3521, allocations: 118.9 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.3521, allocations: 3.938 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.3521, allocations: 15.91 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3521, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3521, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3521, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3523, allocations: 152.7 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3523, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3524, allocations: 19.98 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3524, allocations: 7.938 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3524, allocations: 15.92 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3524, allocations: 0 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3524, allocations: 0 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3528, allocations: 137.8 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.3528, allocations: 15.83 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3528, allocations: 3.984 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.3529, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.3529, allocations: 15.97 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.353, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.353, allocations: 75.28 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002294/0.3532, allocations: 24 kB / 1.287 GB, free: 7.832 MB / 0.9825 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.0007901/0.354, allocations: 0.6943 MB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.3544, allocations: 83.88 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3545, allocations: 43.97 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3547, allocations: 6.062 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.3553, allocations: 206.3 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.42e-05/0.3553, allocations: 71.28 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.3555, allocations: 39.95 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3556, allocations: 27.42 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3556, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.3867, allocations: 2.52 MB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 10.75 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.554209409747273]