Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001117/0.001117, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001248/0.001248, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9662/0.9662, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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 2.036/2.036, allocations: 0.5046 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] 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.Examples.Binomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009728/0.0009728, allocations: 67.91 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7954, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00227/0.7976, allocations: 1.567 MB / 1.354 GB, free: 144 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004357/0.7981, allocations: 175.5 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.7981, allocations: 0 / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.7981, allocations: 7.828 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.7982, allocations: 3.938 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.7985, allocations: 47.88 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.7986, allocations: 35.92 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7987, allocations: 11.98 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.7988, allocations: 15.94 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.7988, allocations: 19.91 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.7988, allocations: 4 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.7989, allocations: 47.95 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.7989, allocations: 15.97 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.799, allocations: 11.94 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.7991, allocations: 73.91 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7991, allocations: 0 / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7991, allocations: 0 / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7991, allocations: 4 kB / 1.354 GB, free: 15.68 MB / 1.042 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.0004129/0.7995, allocations: 278.2 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7996, allocations: 8.922 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.7996, allocations: 38.73 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.7997, allocations: 4.938 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.7998, allocations: 110.5 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.7998, allocations: 384 / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7998, allocations: 8.375 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7999, allocations: 62.22 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7999, allocations: 3.938 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8, allocations: 0 / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.8, allocations: 4 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.8001, allocations: 51.88 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.8004, allocations: 243.9 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.8007, allocations: 62.47 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.8007, allocations: 24.91 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.8008, allocations: 15.98 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.8009, allocations: 34.56 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.8009, allocations: 3.938 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002441/0.8011, allocations: 93.56 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.8011, allocations: 55.41 kB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.8012, allocations: 109.8 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.8012, allocations: 25.7 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.8013, allocations: 88.14 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.8013, allocations: 7.891 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.8013, allocations: 29.64 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.8014, allocations: 318.8 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.8015, allocations: 23.97 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.8015, allocations: 19.98 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.33e-05/0.8016, allocations: 44.81 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.8016, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001267/0.8017, allocations: 81.61 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8017, allocations: 4 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8017, allocations: 4 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8018, allocations: 0 / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.8018, allocations: 15.92 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8018, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.8018, allocations: 7.984 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.8018, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 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 7.302e-05/0.8019, allocations: 118.3 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.8019, allocations: 4 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.8021, allocations: 85.59 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8021, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8021, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8021, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.8022, allocations: 140.7 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8022, allocations: 0 / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.8023, allocations: 8 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8023, allocations: 4 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.8023, allocations: 11.92 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8023, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8023, allocations: 384 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.8027, allocations: 171.4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.8027, allocations: 7.891 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.8027, allocations: 7.984 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.8028, allocations: 8 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.8028, allocations: 3.984 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.8028, allocations: 8 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.8029, allocations: 87.58 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8029, allocations: 0 / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001825/0.8031, allocations: 23.88 kB / 1.357 GB, free: 12.88 MB / 1.042 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.0004049/0.8035, allocations: 0.7163 MB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.8036, allocations: 43.95 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8036, allocations: 4 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.8037, allocations: 31.91 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.8039, allocations: 0 / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.8052, allocations: 1.301 MB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.465e-05/0.8052, allocations: 67.34 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.8053, allocations: 4 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.8053, allocations: 19.42 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of SimCode: time 8.72e-07/0.8053, allocations: 0 / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08775/0.8931, allocations: 2.478 MB / 1.361 GB, free: 8.227 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/7.645, allocations: 8.828 kB / 1.361 GB, free: 8.223 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 ../Buildings_13_Buildings_Utilities_Math_Examples_Binomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Binomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.615505210123956]