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.001426/0.001426, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001514/0.001514, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.807/2.807, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.002056/0.002056, allocations: 69.94 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8727, allocations: 169.9 MB / 1.278 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002159/0.8749, allocations: 0.5874 MB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.8753, allocations: 105.5 kB / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.8753, allocations: 0 / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.8754, allocations: 0 / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.8754, allocations: 0 / 1.279 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.8758, allocations: 43.89 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.876, allocations: 71.86 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.876, allocations: 4 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.876, allocations: 23.98 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.8761, allocations: 23.95 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.8761, allocations: 7.938 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.8763, allocations: 43.95 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.8763, allocations: 23.91 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.8764, allocations: 19.92 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.8765, allocations: 73.66 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8765, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8765, allocations: 4 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.8765, allocations: 0 / 1.279 GB, free: 12.52 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.0005658/0.8771, allocations: 371.4 kB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8771, allocations: 8.031 kB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.8772, allocations: 42.75 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.8772, allocations: 8.891 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8774, allocations: 168.4 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.8776, allocations: 281.6 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.8777, allocations: 4.375 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.8779, allocations: 93.83 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8779, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8779, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8779, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.8783, allocations: 135.8 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.8785, allocations: 185.6 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.8789, allocations: 86.53 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.879, allocations: 44.83 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.879, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8791, allocations: 42.44 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.8791, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005826/0.8797, allocations: 149.8 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.8797, allocations: 55.41 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.8798, allocations: 93.86 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.8798, allocations: 25.7 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.8798, allocations: 88.12 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.8799, allocations: 31.7 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.88, allocations: 29.7 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8801, allocations: 318.8 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.8802, allocations: 31.97 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.8804, allocations: 36.3 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.8807, allocations: 80.91 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8807, allocations: 0 / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003382/0.881, allocations: 113.6 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.881, allocations: 11.92 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.881, allocations: 4 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8811, allocations: 0 / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.8812, allocations: 23.92 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8812, allocations: 0 / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.8813, allocations: 7.953 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.8813, allocations: 11.98 kB / 1.282 GB, free: 9.688 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.0001112/0.8814, allocations: 117.8 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.8814, allocations: 7.938 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.8815, allocations: 15.89 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8815, allocations: 0 / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8815, allocations: 0 / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8815, allocations: 0 / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8817, allocations: 185.5 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8817, allocations: 0 / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.8818, allocations: 23.97 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.8818, allocations: 7.938 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8818, allocations: 4 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8818, allocations: 4 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8818, allocations: 3.938 kB / 1.282 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.8822, allocations: 137.1 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8823, allocations: 89 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8823, allocations: 0 / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.8823, allocations: 7.938 kB / 1.282 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.8824, allocations: 15.97 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.8824, allocations: 12 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.8825, allocations: 75.28 kB / 1.282 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8825, allocations: 0 / 1.282 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002405/0.8827, allocations: 23.94 kB / 1.282 GB, free: 8.867 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.0008114/0.8835, allocations: 0.6949 MB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.8839, allocations: 87.81 kB / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8839, allocations: 0 / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.884, allocations: 44.52 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.8842, allocations: 4 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.8848, allocations: 216.7 kB / 1.283 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.8851, allocations: 0.6845 MB / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.8852, allocations: 39.95 kB / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.8853, allocations: 31.36 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8853, allocations: 7.938 kB / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.9108, allocations: 2.033 MB / 1.286 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.792, allocations: 5.25 kB / 1.286 GB, free: 5.023 MB / 0.9825 GB " [Timeout remaining time 291] (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: 14.97000565705821]