Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008834/0.0008834, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008954/0.0008954, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9241/0.9241, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.867/1.867, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.959e-05, allocations: 5.797 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001106/0.001125, allocations: 0.6032 MB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.00141, allocations: 99.66 kB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.00143, allocations: 0 / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.001456, allocations: 0 / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.001462, allocations: 0 / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.001778, allocations: 39.83 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.001884, allocations: 63.92 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.001923, allocations: 8 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.001967, allocations: 35.95 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.002003, allocations: 23.95 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.002021, allocations: 4 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.002125, allocations: 47.89 kB / 1.002 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.002156, allocations: 27.89 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.002179, allocations: 15.97 kB / 1.002 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.002309, allocations: 83.81 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002311, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002312, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002316, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 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.0003495/0.002665, allocations: 302.2 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.002702, allocations: 13.34 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.002737, allocations: 42.69 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.002768, allocations: 12.89 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.205e-05/0.00282, allocations: 105.8 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.003042, allocations: 0.526 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.003053, allocations: 4.375 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.003205, allocations: 82.19 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003212, allocations: 192 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.00322, allocations: 4.312 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.003226, allocations: 7.938 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.003412, allocations: 139.6 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.00354, allocations: 148.7 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.00373, allocations: 86.53 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.003807, allocations: 40.83 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.003827, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.003843, allocations: 34.56 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.003844, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0003203/0.004164, allocations: 157.7 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.004192, allocations: 55.41 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/0.004219, allocations: 93.86 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.004231, allocations: 25.7 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.675e-05/0.004247, allocations: 80.14 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.004287, allocations: 35.69 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.004322, allocations: 29.7 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.004393, allocations: 318.8 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.004464, allocations: 31.98 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.004528, allocations: 27.97 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.004672, allocations: 76.81 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004674, allocations: 0 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001753/0.004849, allocations: 117.5 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.004862, allocations: 8 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004866, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.004878, allocations: 3.938 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.004974, allocations: 27.97 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.004979, allocations: 4 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.00501, allocations: 7.953 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.005021, allocations: 7.984 kB / 1.004 GB, free: 9.473 MB / 0.9636 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 5.897e-05/0.00508, allocations: 120.4 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.005087, allocations: 4 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.005118, allocations: 11.97 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.005122, allocations: 7.938 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005125, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.005129, allocations: 3.984 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.005214, allocations: 148.6 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005215, allocations: 4 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.005272, allocations: 19.98 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.005273, allocations: 0 / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.005282, allocations: 11.92 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005284, allocations: 11.88 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005285, allocations: 4 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.005529, allocations: 137.8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.005536, allocations: 7.953 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.005548, allocations: 4 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.005575, allocations: 7.938 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.005621, allocations: 15.95 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.005627, allocations: 4 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.00565, allocations: 79.28 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00565, allocations: 0 / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001591/0.005809, allocations: 19.94 kB / 1.005 GB, free: 8.789 MB / 0.9636 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.0004432/0.006252, allocations: 0.7022 MB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.006449, allocations: 83.88 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006451, allocations: 0 / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.006531, allocations: 47.89 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.006642, allocations: 7.938 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.007026, allocations: 195.4 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.007072, allocations: 71.34 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.007203, allocations: 39.95 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.007245, allocations: 20.48 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.007246, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/0.08817, allocations: 2.659 MB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.181, allocations: 6.25 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Binomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.682575896382332]