Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.000862/0.000862, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000932/0.000932, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9049/0.9049, allocations: 177.2 MB / 204.6 MB, free: 5.238 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.913/1.913, allocations: 389.5 MB / 0.6354 GB, free: 12.33 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: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.353e-05, allocations: 3.406 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001957/0.001971, allocations: 1.523 MB / 0.7767 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.004093, allocations: 2.641 MB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.004121, allocations: 0 / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.005143, allocations: 0.5733 MB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.005189, allocations: 35.72 kB / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.005192, allocations: 0 / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005382, allocations: 168.6 kB / 0.78 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.005428, allocations: 18.55 kB / 0.78 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.005501, allocations: 83.72 kB / 0.7801 GB, free: 420 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.00559, allocations: 59.84 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.005601, allocations: 1.219 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.006174, allocations: 422.2 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.006215, allocations: 36.62 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.006286, allocations: 63.78 kB / 0.7806 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.006667, allocations: 426.8 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.006669, allocations: 0 / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00667, allocations: 0.9062 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.006673, allocations: 4 kB / 0.7811 GB, free: 15.42 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004205/0.007093, allocations: 460.7 kB / 0.7815 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.007122, allocations: 9.344 kB / 0.7815 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.007203, allocations: 88.86 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.007333, allocations: 235.9 kB / 0.7818 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.007366, allocations: 156.6 kB / 0.782 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.007399, allocations: 158.9 kB / 0.7821 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.66e-05/0.007445, allocations: 105.5 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.007462, allocations: 75.47 kB / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.007491, allocations: 151.8 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.007519, allocations: 150.9 kB / 0.7826 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.007549, allocations: 162.4 kB / 0.7827 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.007699, allocations: 374.2 kB / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.00775, allocations: 177.1 kB / 0.7833 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.007768, allocations: 80.14 kB / 0.7833 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.007787, allocations: 80.25 kB / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.007816, allocations: 113.8 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.007817, allocations: 0.5312 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.948e-05/0.007906, allocations: 43.22 kB / 0.7836 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.00794, allocations: 126.7 kB / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.008132, allocations: 351 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.00814, allocations: 29.7 kB / 0.784 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.008186, allocations: 130 kB / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.008188, allocations: 0 / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.00824, allocations: 89.58 kB / 0.7843 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.008315, allocations: 346.7 kB / 0.7846 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.008365, allocations: 51.48 kB / 0.7846 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.00842, allocations: 99.19 kB / 0.7847 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.00855, allocations: 213.5 kB / 0.7849 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008552, allocations: 0 / 0.7849 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000244/0.008796, allocations: 249.9 kB / 0.7852 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.008807, allocations: 9.875 kB / 0.7852 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008812, allocations: 1.094 kB / 0.7852 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.008824, allocations: 4 kB / 0.7852 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.008826, allocations: 5.016 kB / 0.7852 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.00883, allocations: 4 kB / 0.7852 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.0089, allocations: 39.56 kB / 0.7852 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.008907, allocations: 5.312 kB / 0.7852 GB, free: 10.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 8.069e-05/0.008988, allocations: 203.8 kB / 0.7854 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.009024, allocations: 110.2 kB / 0.7855 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.009064, allocations: 118.8 kB / 0.7856 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/0.009101, allocations: 176.3 kB / 0.7858 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-05/0.009145, allocations: 181.7 kB / 0.786 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/0.009183, allocations: 184.2 kB / 0.7862 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.009333, allocations: 361.3 kB / 0.7865 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/0.009358, allocations: 108.9 kB / 0.7866 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.009381, allocations: 106.4 kB / 0.7867 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.713e-05/0.009418, allocations: 180.2 kB / 0.7869 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.009459, allocations: 180.2 kB / 0.7871 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.671e-05/0.009495, allocations: 180.3 kB / 0.7872 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.802e-05/0.009533, allocations: 185.1 kB / 0.7874 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/0.009626, allocations: 319.7 kB / 0.7877 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.009668, allocations: 125.6 kB / 0.7878 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.009719, allocations: 176.5 kB / 0.788 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.009787, allocations: 110.9 kB / 0.7881 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.009829, allocations: 184.3 kB / 0.7883 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.009854, allocations: 104.9 kB / 0.7884 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.009933, allocations: 120.7 kB / 0.7885 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009933, allocations: 0 / 0.7885 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002047/0.01014, allocations: 83.92 kB / 0.7886 GB, free: 7.344 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002359/0.01037, allocations: 304.5 kB / 0.7889 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01048, allocations: 87.31 kB / 0.7889 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01048, allocations: 1.969 kB / 0.7889 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.01049, allocations: 4 kB / 0.789 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.01069, allocations: 467.9 kB / 0.7894 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.01118, allocations: 449.2 kB / 0.7898 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01122, allocations: 91.3 kB / 0.7899 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.405e-06/0.01123, allocations: 1.906 kB / 0.7899 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.01127, allocations: 55.38 kB / 0.79 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/0.01127, allocations: 0 / 0.79 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.005398/0.01667, allocations: 4.353 MB / 0.7942 GB, free: 1.613 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.786978881806135]