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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.474/2.474, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7591/0.761, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001398/0.7624, allocations: 0.6048 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.7627, allocations: 103.9 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.7627, allocations: 0.7188 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.7627, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.7627, allocations: 0.6562 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.763, allocations: 38.36 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7631, allocations: 66.73 kB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.7632, allocations: 7.109 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.7632, allocations: 21.83 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.7633, allocations: 28.16 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.7633, allocations: 2.844 kB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.7634, allocations: 45.53 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.7634, allocations: 28.14 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.7634, allocations: 22.72 kB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.7636, allocations: 65.91 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7636, allocations: 0.75 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7636, allocations: 0 / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7636, allocations: 3.938 kB / 1.272 GB, free: 7.152 MB / 0.9981 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.000393/0.764, allocations: 382.1 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.764, allocations: 9.406 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.764, allocations: 44.42 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.7641, allocations: 10.02 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.196e-05/0.7641, allocations: 162.4 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.7643, allocations: 281.2 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.7643, allocations: 3.656 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.7645, allocations: 79.95 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7645, allocations: 4.781 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.7646, allocations: 4 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7646, allocations: 9.562 kB / 1.273 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.7649, allocations: 136 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.765, allocations: 177.5 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.7653, allocations: 90.66 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.7654, allocations: 39.25 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.7654, allocations: 1.719 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.7654, allocations: 40.09 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.7654, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004781/0.7659, allocations: 151.5 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.766, allocations: 53.19 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.831e-05/0.766, allocations: 97.81 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.766, allocations: 26.39 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.805e-06/0.766, allocations: 81.36 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.766, allocations: 34.66 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.7661, allocations: 35.62 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.7661, allocations: 315.2 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.7662, allocations: 32.5 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.7663, allocations: 30.41 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.7666, allocations: 86.03 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7666, allocations: 0 / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002888/0.7669, allocations: 109.2 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.7669, allocations: 11.12 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7669, allocations: 4 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7669, allocations: 2.453 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.767, allocations: 24.94 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.767, allocations: 1.125 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.7671, allocations: 7.734 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.7671, allocations: 3.219 kB / 1.275 GB, free: 5.012 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 4.914e-05/0.7671, allocations: 119.6 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.7672, allocations: 7.312 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.7672, allocations: 12.72 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7672, allocations: 6.125 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7672, allocations: 0 / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7672, allocations: 0.5625 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.7673, allocations: 180.9 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7673, allocations: 4.781 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.7674, allocations: 24.36 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7674, allocations: 4.969 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7674, allocations: 9.297 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7674, allocations: 1 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7674, allocations: 0 / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.7677, allocations: 145.4 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.7677, allocations: 89.47 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.7677, allocations: 5.156 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.7678, allocations: 2.5 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.7678, allocations: 11.06 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7678, allocations: 7.031 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.969e-06/0.7679, allocations: 79.28 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7679, allocations: 4 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002043/0.7681, allocations: 24.69 kB / 1.276 GB, free: 4.363 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.0005079/0.7686, allocations: 0.6966 MB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.7689, allocations: 87.08 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7689, allocations: 4 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.769, allocations: 51.03 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.7692, allocations: 1.312 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7696, allocations: 204.4 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.7697, allocations: 0.6862 MB / 1.277 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000129/0.7698, allocations: 40.23 kB / 1.277 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.7698, allocations: 20.77 kB / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.7698, allocations: 0 / 1.277 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.7939, allocations: 2.005 MB / 1.279 GB, free: 18.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.931, allocations: 5.219 kB / 1.279 GB, free: 18.41 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.27534101499623]